package ctypes

  1. Overview
  2. Docs
val string_of_char_ptr : (char, [ `C ]) Ctypes_static.pointer -> string
val char_ptr_of_string : string -> (char, [ `C ]) Ctypes_static.pointer
val string : string Ctypes_static.typ
val read_nullable : 'a Ctypes_static.typ -> 'b Ctypes_static.typ -> 'b Ctypes_static.ptr -> 'a option
val write_nullable : 'a Ctypes_static.typ -> 'b Ctypes_static.typ -> 'a option -> 'b Ctypes_static.ptr
val nullable_view : ?format_typ:((Format.formatter -> unit) -> Format.formatter -> unit) -> ?format:(Format.formatter -> 'a option -> unit) -> 'a Ctypes_static.typ -> 'b Ctypes_static.typ -> 'a option Ctypes_static.typ
val read_nullable_funptr : 'a Ctypes_static.typ -> 'b Ctypes_static.fn -> 'b Ctypes_static.static_funptr -> 'a option
val write_nullable_funptr : 'a Ctypes_static.typ -> 'b Ctypes_static.fn -> 'a option -> 'b Ctypes_static.static_funptr
val nullable_funptr_view : ?format_typ:((Format.formatter -> unit) -> Format.formatter -> unit) -> ?format:(Format.formatter -> 'a option -> unit) -> 'a Ctypes_static.typ -> 'b Ctypes_static.fn -> 'a option Ctypes_static.typ
val string_opt : string option Ctypes_static.typ
module type Signed_type = sig ... end
module type Unsigned_type = sig ... end
val signed_typedef : string -> size:int -> (module Signed_type)
val unsigned_typedef : string -> size:int -> (module Unsigned_type)
OCaml

Innovation. Community. Security.