sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
cma
files.
type t = cma
The type for cma files.
val read : Fpath.t -> (cma, [ `Msg of string ]) Pervasives.result
read f
reads a cma
file from f
.
val name : cma -> string
name cma
is cma
's basename.
val custom : cma -> bool
custom cma
is true
if it requires custom mode linking.
val custom_cobjs : cma -> string list
cma_custom_cobjs
are C objects files needed for custom mode linking.
val custom_copts : cma -> string list
cma_custom_copts
are C link options for custom mode linking.
val dllibs : cma -> string list
cma_dllibs
are dynamically loaded C libraries for ocamlrun dynamic linking.
FIXME most of this can be removed.
val names :
?init:Digest.t Astring.String.map ->
cma ->
Digest.t Astring.String.map
names ~init cma
adds to init
(defaults to String.Map.empty
) the module names defined by cma
mapped to their cmi
digests. If a name already exists in init
it is overriden.
val cmi_digests : ?init:string Digest.map -> cma -> string Digest.map
cmi_digests ~init cma
adds to init
(defaults to Digest.Map.empty
) the cmi
digests of the modules defined by cma
mapped to their module name. If a digest already exists in init
it is overriden.
to_cmi_deps ~init cma
adds to init
(default to []
) the module names and cmi
digests of the modules defined by cma
.
cmi_deps ~conflict cma
is the list of cmi imported by the cmo
s in the library. The result excludes self-dependencies that is the set cmi_digest
of digests that are implemented by the cma
itself.
conflict
is called if the module interface of a dependency sports two different digests in the archive. The default function logs a warning.