diff --git a/dev/containers/Containers_codegen/.dune-keep b/dev/containers/Containers_codegen/.dune-keep new file mode 100644 index 00000000..e69de29b diff --git a/dev/containers/Containers_codegen/Bitfield/index.html b/dev/containers/Containers_codegen/Bitfield/index.html new file mode 100644 index 00000000..938adf8b --- /dev/null +++ b/dev/containers/Containers_codegen/Bitfield/index.html @@ -0,0 +1,2 @@ + +Bitfield (containers.Containers_codegen.Bitfield)

Module Containers_codegen.Bitfield

Generate efficient bitfields that fit in an integer

type t
val make : ?⁠emit_failure_if_too_wide:bool -> name:string -> unit -> t

Make a new bitfield with the given name.

parameter name

the name of the generated type

parameter emit_failure_if_too_wide

if true, generated code includes a runtime assertion that Sys.int_size is wide enough to support this type

val field_bit : t -> string -> unit
val field_int : t -> width:int -> string -> unit
val total_width : t -> int
val gen_mli : t -> code
val gen_ml : t -> code
\ No newline at end of file diff --git a/dev/containers/Containers_codegen/Code/index.html b/dev/containers/Containers_codegen/Code/index.html new file mode 100644 index 00000000..6f6622aa --- /dev/null +++ b/dev/containers/Containers_codegen/Code/index.html @@ -0,0 +1,2 @@ + +Code (containers.Containers_codegen.Code)

Module Containers_codegen.Code

Representation of OCaml code

type t = code
val pp : t Fmt.printer
val to_string : t -> string
val mk_pp : unit Fmt.printer -> t
val mk_str : string -> t
val in_struct : string -> t list -> t
val in_sig : string -> t list -> t
\ No newline at end of file diff --git a/dev/containers/Containers_codegen/index.html b/dev/containers/Containers_codegen/index.html new file mode 100644 index 00000000..90d467bf --- /dev/null +++ b/dev/containers/Containers_codegen/index.html @@ -0,0 +1,2 @@ + +Containers_codegen (containers.Containers_codegen)

Module Containers_codegen

Code generators

module Fmt = CCFormat
type code
module Code : sig ... end
module Bitfield : sig ... end
val emit_file : string -> code list -> unit
val emit_chan : Stdlib.out_channel -> code list -> unit
val emit_string : code list -> string
\ No newline at end of file diff --git a/dev/containers/index.html b/dev/containers/index.html index 53002ccb..fb2e3a30 100644 --- a/dev/containers/index.html +++ b/dev/containers/index.html @@ -1,2 +1,2 @@ -index (containers.index)

containers index

Library containers

This library exposes the following toplevel modules:

Library containers.monomorphic

This library exposes the following toplevel modules:

Library containers.top

The entry point of this library is the module: Containers_top.

Library containers.unix

The entry point of this library is the module: CCUnix.

\ No newline at end of file +index (containers.index)

containers index

Library containers

This library exposes the following toplevel modules:

Library containers.codegen

The entry point of this library is the module: Containers_codegen.

Library containers.monomorphic

This library exposes the following toplevel modules:

Library containers.top

The entry point of this library is the module: Containers_top.

Library containers.unix

The entry point of this library is the module: CCUnix.

\ No newline at end of file