aboutsummaryrefslogtreecommitdiff
path: root/kernel/names.mli
diff options
context:
space:
mode:
authorsoubiran2007-01-24 15:07:17 +0000
committersoubiran2007-01-24 15:07:17 +0000
commitdc57718e98289b5d71a0a942d6a063d441dc6a54 (patch)
tree3e8136faef19ef7d1e8280177de78c56582d1f35 /kernel/names.mli
parentc155e42cdd1dd70b9e20243a6dc599ec653aef7a (diff)
modifications des messages d'erreurs renvoyés lors de la comparaison
de deux signatures de modules. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9531 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/names.mli')
-rw-r--r--kernel/names.mli8
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/names.mli b/kernel/names.mli
index 4c51269d08..051087f5d4 100644
--- a/kernel/names.mli
+++ b/kernel/names.mli
@@ -42,24 +42,28 @@ val string_of_dirpath : dir_path -> string
(*s Unique identifier to be used as "self" in structures and
signatures - invisible for users *)
-
+ type label
type mod_self_id
(* The first argument is a file name - to prevent conflict between
different files *)
val make_msid : dir_path -> string -> mod_self_id
val id_of_msid : mod_self_id -> identifier
+val label_of_msid : mod_self_id -> label
val debug_string_of_msid : mod_self_id -> string
+val string_of_msid : mod_self_id -> string
(*s Unique names for bound modules *)
type mod_bound_id
val make_mbid : dir_path -> string -> mod_bound_id
val id_of_mbid : mod_bound_id -> identifier
+val label_of_mbid : mod_bound_id -> label
val debug_string_of_mbid : mod_bound_id -> string
+val string_of_mbid : mod_bound_id -> string
(*s Names of structure elements *)
-type label
+
val mk_label : string -> label
val string_of_label : label -> string