diff options
| author | Emilio Jesus Gallego Arias | 2018-10-26 10:24:18 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-26 13:59:23 +0200 |
| commit | dccaed2452e544308b46f0c73ffd4f542ef4c8c6 (patch) | |
| tree | 3f95a7253acf3f06682bd036bc6f647c0121a085 /interp | |
| parent | 27266c1f79e565a6a19da4c79fc1ce83f748e31c (diff) | |
[libobject] Move object_name next to object definition.
`object_name` is a particular choice of the implementation of
`Liboject`, thus it makes sense to tie it to that particular module.
This may prove useful in the future as we may want to modify object
naming.
Diffstat (limited to 'interp')
| -rw-r--r-- | interp/declare.mli | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/interp/declare.mli b/interp/declare.mli index 02e73cd66c..468e056909 100644 --- a/interp/declare.mli +++ b/interp/declare.mli @@ -9,7 +9,6 @@ (************************************************************************) open Names -open Libnames open Constr open Entries open Decl_kinds @@ -29,7 +28,7 @@ type section_variable_entry = type variable_declaration = DirPath.t * section_variable_entry * logical_kind -val declare_variable : variable -> variable_declaration -> object_name +val declare_variable : variable -> variable_declaration -> Libobject.object_name (** Declaration of global constructions i.e. Definition/Theorem/Axiom/Parameter/... *) @@ -69,7 +68,7 @@ val set_declare_scheme : (** [declare_mind me] declares a block of inductive types with their constructors in the current section; it returns the path of the whole block and a boolean indicating if it is a primitive record. *) -val declare_mind : mutual_inductive_entry -> object_name * bool +val declare_mind : mutual_inductive_entry -> Libobject.object_name * bool (** Declaration messages *) |
