package ctypes

  1. Overview
  2. Docs
type _ kind =
  1. | Kind_float32 : float kind
  2. | Kind_float64 : float kind
  3. | Kind_int8_signed : int kind
  4. | Kind_int8_unsigned : int kind
  5. | Kind_int16_signed : int kind
  6. | Kind_int16_unsigned : int kind
  7. | Kind_int32 : int32 kind
  8. | Kind_int64 : int64 kind
  9. | Kind_int : int kind
  10. | Kind_nativeint : nativeint kind
  11. | Kind_complex32 : Complex.t kind
  12. | Kind_complex64 : Complex.t kind
  13. | Kind_char : char kind
val kind : 'a 'b. ('a, 'b) Bigarray_compat.kind -> 'a kind
val address : 'b -> Ctypes_ptr.voidp
val view : 'a kind -> dims:int array -> (_, _) Ctypes_ptr.Fat.t -> 'l Bigarray_compat.layout -> ('a, 'b, 'l) Bigarray_compat.Genarray.t
val view1 : 'a kind -> dims:int array -> (_, _) Ctypes_ptr.Fat.t -> 'l Bigarray_compat.layout -> ('a, 'b, 'l) Bigarray_compat.Array1.t
val view2 : 'a kind -> dims:int array -> (_, _) Ctypes_ptr.Fat.t -> 'l Bigarray_compat.layout -> ('a, 'b, 'l) Bigarray_compat.Array2.t
val view3 : 'a kind -> dims:int array -> (_, _) Ctypes_ptr.Fat.t -> 'l Bigarray_compat.layout -> ('a, 'b, 'l) Bigarray_compat.Array3.t
OCaml

Innovation. Community. Security.