aboutsummaryrefslogtreecommitdiff
path: root/library/global.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-17 15:58:05 +0200
committerPierre-Marie Pédrot2019-09-25 22:14:34 +0200
commit24eccfc6dfec012da081a0891c397f013cc590e5 (patch)
tree2149f64a0aac6694977bfbb35b0f79c61c00dd7e /library/global.mli
parent4838fd47542018ba61cd096c93edf45b7ef68529 (diff)
Stub code for handling sections in kernel.
For now we only keep a count of the number of open sections, discriminating between polymorphic and monomorphic ones.
Diffstat (limited to 'library/global.mli')
-rw-r--r--library/global.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/global.mli b/library/global.mli
index d0bd556d70..9ac6b1f53c 100644
--- a/library/global.mli
+++ b/library/global.mli
@@ -71,6 +71,11 @@ val add_include :
Entries.module_struct_entry -> bool -> Declarations.inline ->
Mod_subst.delta_resolver
+(** Sections *)
+
+val open_section : poly:bool -> unit
+val close_section : Summary.frozen -> unit
+
(** Interactive modules and module types *)
val start_module : Id.t -> ModPath.t