Ctypes_std_views
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 ptr_opt :
'a Ctypes_static.typ ->
'a Ctypes_static.ptr 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)
module Intptr : Signed_type
module Uintptr : Unsigned_type
val intptr_t : Intptr.t Ctypes_static.typ
val uintptr_t : Uintptr.t Ctypes_static.typ
module Ptrdiff : Signed_type
val ptrdiff_t : Ptrdiff.t Ctypes_static.typ