aboutsummaryrefslogtreecommitdiff
path: root/library/lib.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-10-26 10:24:18 +0200
committerEmilio Jesus Gallego Arias2018-10-26 13:59:23 +0200
commitdccaed2452e544308b46f0c73ffd4f542ef4c8c6 (patch)
tree3f95a7253acf3f06682bd036bc6f647c0121a085 /library/lib.ml
parent27266c1f79e565a6a19da4c79fc1ce83f748e31c (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 'library/lib.ml')
-rw-r--r--library/lib.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 27c5056a7f..1acc8fd8fd 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -138,7 +138,7 @@ let make_kn id =
let mp = current_mp () in
Names.KerName.make mp (Names.Label.of_id id)
-let make_oname id = Libnames.make_oname !lib_state.path_prefix id
+let make_oname id = Libobject.make_oname !lib_state.path_prefix id
let recalc_path_prefix () =
let rec recalc = function