aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/environ.mli
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2014-11-12 15:50:37 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2014-11-12 15:50:37 +0100
commite74d442cc7732cee262921f3dd8cd42a882f75de (patch)
tree0411fb0d7237105bf629ec50ba0719f07079d63b /kernel/environ.mli
parent21abd69648badb999ea22a77cdaad4630761d0e6 (diff)
Cleaner interfaces for linking locations of native compiler.
Stop sharing those references across constants of the same module, which was triggering some bugs when using native_compute in interactive mode in a functor declaration.
Diffstat (limited to 'kernel/environ.mli')
-rw-r--r--kernel/environ.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/environ.mli b/kernel/environ.mli
index a20944758..91eef2898 100644
--- a/kernel/environ.mli
+++ b/kernel/environ.mli
@@ -127,7 +127,7 @@ val pop_rel_context : int -> env -> env
{6 Add entries to global environment } *)
val add_constant : constant -> constant_body -> env -> env
-val add_constant_key : constant -> constant_body -> Pre_env.link_info ref ->
+val add_constant_key : constant -> constant_body -> Pre_env.link_info ->
env -> env
(** Looks up in the context of global constant names
@@ -290,4 +290,4 @@ val registered : env -> field -> bool
val register : env -> field -> Retroknowledge.entry -> env
(** Native compiler *)
-val no_link_info : unit -> Pre_env.link_info ref
+val no_link_info : Pre_env.link_info