Module Ctypes_memory.CArray

type 'a t = 'a Ctypes_static.carray
val check_bound : 'a Ctypes_static.carray -> int -> unit
val unsafe_get : 'a Ctypes_static.carray -> int -> 'a
val unsafe_set : 'a Ctypes_static.carray -> int -> 'a -> unit
val get : 'a Ctypes_static.carray -> int -> 'a
val set : 'a Ctypes_static.carray -> int -> 'a -> unit
val length : 'a Ctypes_static.carray -> int
val from_ptr : 'a Ctypes_static.ptr -> int -> 'a Ctypes_static.carray
val fill : 'a Ctypes_static.carray -> 'a -> unit
val make : 'a. ?finalise:('a t -> unit) -> 'a Ctypes_static.typ -> ?initial:'a -> int -> 'a t
val sub : 'a Ctypes_static.carray -> pos:int -> length:int -> 'a Ctypes_static.carray
val element_type : 'a Ctypes_static.carray -> 'a Ctypes_static.typ
val of_string : string -> char t
val of_list : 'a Ctypes_static.typ -> 'a list -> 'a t
val to_list : 'a Ctypes_static.carray -> 'a list
val iter : ('a -> 'b) -> 'a Ctypes_static.carray -> unit
val iteri : (int -> 'a -> 'b) -> 'a Ctypes_static.carray -> unit
val map : 'a Ctypes_static.typ -> ('b -> 'a) -> 'b Ctypes_static.carray -> 'a t
val mapi : 'a Ctypes_static.typ -> (int -> 'b -> 'a) -> 'b Ctypes_static.carray -> 'a t
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b Ctypes_static.carray -> 'a
val fold_right : ('a -> 'b -> 'b) -> 'a Ctypes_static.carray -> 'b -> 'b