From d3eac3d5fc8e5af499eb8750ca08ead8562dac6f Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Sat, 28 Dec 2013 20:39:17 -0500 Subject: 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. --- kernel/modops.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/modops.mli') 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 -- cgit v1.2.3