package ctypes

  1. Overview
  2. Docs
Combinators for binding to C libraries without writing any C

Install

Dune Dependency

Authors

Maintainers

Sources

0.23.0.tar.gz
sha256=cae47d815b27dd4c824a007f1145856044542fe2588d23a443ef4eefec360bf1
md5=b1af973ec9cf7867a63714e92df82f2a

doc/ctypes/Ctypes_structs_computed/index.html

Module Ctypes_structs_computedSource

Structs and unions whose layouts are computed from the sizes and alignment requirements of the constituent field types.

include Ctypes_structs.S with type ('a, 's) field := ('a, 's) Ctypes_static.field
Sourceval field : 't Ctypes_static.typ -> string -> 'a Ctypes_static.typ -> ('a, ('s, [< `Struct | `Union ]) Ctypes_static.structured as 't) Ctypes_static.field
Sourceval seal : (_, [< `Struct | `Union ]) Ctypes_static.structured Ctypes_static.typ -> unit
OCaml

Innovation. Community. Security.