diff options
| author | Emilio Jesus Gallego Arias | 2020-06-25 16:43:08 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2020-11-26 21:21:54 +0100 |
| commit | b78f6424d9fa5a8027c4acb21b3e57ee6294bc5f (patch) | |
| tree | 5f62ea350794ecaefd4a447763be8dc35ee92314 /kernel/safe_typing.mli | |
| parent | b531ef305a0dad301629cf9a51a1a4f0ff925297 (diff) | |
[kernel] Allow to set typing flags in add_constant
This is just an experiment, but makes the uses of the API easier as we
don't mess with the global state anymore.
Diffstat (limited to 'kernel/safe_typing.mli')
| -rw-r--r-- | kernel/safe_typing.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/safe_typing.mli b/kernel/safe_typing.mli index 6fa9022906..c4d0fffe2b 100644 --- a/kernel/safe_typing.mli +++ b/kernel/safe_typing.mli @@ -93,6 +93,7 @@ val export_private_constants : (** returns the main constant *) val add_constant : + ?typing_flags:Declarations.typing_flags -> Label.t -> global_declaration -> Constant.t safe_transformer (** Similar to add_constant but also returns a certificate *) |
