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 -> 'c option
val write_nullable : 'a Ctypes_static.typ -> 'b Ctypes_static.typ -> 'c option -> 'd Ctypes_static.ptr
val nullable_view : ?format_typ: ((Stdlib.Format.formatter -> unit) -> Stdlib.Format.formatter -> unit) -> ?format:(Stdlib.Format.formatter -> 'a option -> unit) -> 'b Ctypes_static.typ -> 'c Ctypes_static.typ -> 'a option Ctypes_static.typ
val read_nullable_funptr : 'a Ctypes_static.typ -> 'b Ctypes_static.fn -> 'c Ctypes_static.static_funptr -> 'd option
val write_nullable_funptr : 'a Ctypes_static.typ -> 'b Ctypes_static.fn -> 'c option -> 'b Ctypes_static.static_funptr
val nullable_funptr_view : ?format_typ: ((Stdlib.Format.formatter -> unit) -> Stdlib.Format.formatter -> unit) -> ?format:(Stdlib.Format.formatter -> 'a option -> unit) -> 'b Ctypes_static.typ -> 'c 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)