Module Gpointer
Gpointer: various kinds of pointers to C data
val optaddr : 'a option -> 'a optaddr
val boxed_null : boxedval peek_string : ?pos:int -> ?len:int -> boxed -> stringval peek_int : boxed -> intval poke_int : boxed -> int -> unitval peek_nativeint : boxed -> nativeintval poke_nativeint : boxed -> nativeint -> unit
val decode_variant : 'a variant_table -> int -> 'aval encode_variant : 'a variant_table -> 'a -> intval decode_flags : 'a variant_table -> int -> 'a listval encode_flags : 'a variant_table -> 'a list -> int
val stable_copy : 'a -> 'a stable
val length : region -> intthe length of the region
val get_addr : region -> nativeintthe length of the region
the start address of the region
val get_byte : region -> pos:int -> intval set_byte : region -> pos:int -> int -> unitval blit : src:region -> dst:region -> unitval region_of_bytes : bytes -> regioncreate a region sharing a string
val bytes_of_region : region -> bytescreate a region sharing a string
copy the contents of the region to a string
val unsafe_create_region : path:int array -> get_length:('a -> int) -> 'a -> regionunsafe_create_region ~path ~get_lengthreturns a function to build regions from a specific kind of data abstraction