Module Ctypes_memory_stubs

type managed_buffer
val allocate : int -> int -> managed_buffer
val block_address : managed_buffer -> Ctypes_ptr.voidp
val read : 'a Ctypes_primitive_types.prim -> (_, _) Ctypes_ptr.Fat.t -> 'a
val write : 'a Ctypes_primitive_types.prim -> 'a -> (_, _) Ctypes_ptr.Fat.t -> unit
module Pointer : sig ... end
val memcpy : dst:(_, _) Ctypes_ptr.Fat.t -> src:(_, _) Ctypes_ptr.Fat.t -> size:int -> unit
val string_of_array : (_, _) Ctypes_ptr.Fat.t -> len:int -> string
val use_value : 'a -> unit