diff options
Diffstat (limited to 'library/libobject.mli')
-rw-r--r-- | library/libobject.mli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/libobject.mli b/library/libobject.mli index d855059fa..17a221a66 100644 --- a/library/libobject.mli +++ b/library/libobject.mli @@ -19,7 +19,7 @@ type 'a object_declaration = { cache_function : section_path * 'a -> unit; load_function : section_path * 'a -> unit; open_function : section_path * 'a -> unit; - specification_function : 'a -> 'a } + export_function : 'a -> 'a option } (*s Given an object name and a declaration, the function [declare_object] will hand back two functions, the "injection" and "projection" @@ -35,4 +35,5 @@ val object_tag : obj -> string val cache_object : section_path * obj -> unit val load_object : section_path * obj -> unit val open_object : section_path * obj -> unit -val extract_object_specification : obj -> obj +val export_object : obj -> obj option + |