aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/modops.mli
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2013-12-28 20:39:17 -0500
committerGravatar Maxime Dénès <mail@maximedenes.fr>2013-12-28 20:39:17 -0500
commitd3eac3d5fc8e5af499eb8750ca08ead8562dac6f (patch)
tree70540c3d5e8b0856db2a9e82710e1b32cdc8465d /kernel/modops.mli
parenta681e57e3c76dff2fe710ce533179ea659d8de0b (diff)
Removing native_name reference from constant_body.
For now, this reference (renamed to link_info) has been moved to the environment (for constants and inductive types). But this is only a first step towards making the native compiler more functional.
Diffstat (limited to 'kernel/modops.mli')
-rw-r--r--kernel/modops.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/modops.mli b/kernel/modops.mli
index 11eb876ad..f50dcfd63 100644
--- a/kernel/modops.mli
+++ b/kernel/modops.mli
@@ -49,6 +49,9 @@ val add_structure :
(** adds a module and its components, but not the constraints *)
val add_module : module_body -> env -> env
+(** same as add_module, but for a module whose native code has been linked by
+the native compiler. The linking information is updated. *)
+val add_linked_module : module_body -> Pre_env.link_info ref -> env -> env
(** same, for a module type *)
val add_module_type : module_path -> module_type_body -> env -> env