From c8b4e54de9e987af114d7c2e59cf12161549d400 Mon Sep 17 00:00:00 2001 From: c-cube Date: Tue, 2 Mar 2021 14:51:30 +0000 Subject: [PATCH] deploy: 5ad8914e4c5f8d2c18d27d91357c282d8c6b2470 --- dev/containers/Containers_codegen/.dune-keep | 0 dev/containers/Containers_codegen/Bitfield/index.html | 2 ++ dev/containers/Containers_codegen/Code/index.html | 2 ++ dev/containers/Containers_codegen/index.html | 2 ++ dev/containers/index.html | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 dev/containers/Containers_codegen/.dune-keep create mode 100644 dev/containers/Containers_codegen/Bitfield/index.html create mode 100644 dev/containers/Containers_codegen/Code/index.html create mode 100644 dev/containers/Containers_codegen/index.html 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