package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.2.1

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0

doc/compiler-libs.common/Cmo_format/index.html

Module Cmo_format

type modname = string
type crcs = (modname * Digest.t option) list
type compunit =
  1. | Compunit of string
type predef =
  1. | Predef_exn of string
type reloc_info =
  1. | Reloc_literal of Obj.t
  2. | Reloc_getcompunit of compunit
  3. | Reloc_getpredef of predef
  4. | Reloc_setcompunit of compunit
  5. | Reloc_primitive of string
type compilation_unit = {
  1. cu_name : compunit;
  2. mutable cu_pos : int;
  3. cu_codesize : int;
  4. cu_reloc : (reloc_info * int) list;
  5. cu_imports : crcs;
  6. cu_required_compunits : compunit list;
  7. cu_primitives : string list;
  8. mutable cu_debug : int;
  9. cu_debugsize : int;
}
type library = {
  1. lib_units : compilation_unit list;
  2. lib_custom : bool;
  3. lib_ccobjs : string list;
  4. lib_ccopts : string list;
  5. lib_dllibs : string list;
}
OCaml

Innovation. Community. Security.