package lutin

  1. Overview
  2. Docs
type t
type cfunc
val dlopen : string -> t
val dlsym : t -> string -> cfunc
val dlclose : t -> unit
type cptr
val cptr_of : 'a -> cptr
val f2f : cfunc -> float -> float
val ff2f : cfunc -> float -> float -> float
val i2i : cfunc -> int -> int
val ii2i : cfunc -> int -> int -> int
val iii2i : cfunc -> int -> int -> int -> int
type carg =
  1. | Int_carg of int
  2. | Double_carg of float
  3. | String_carg of string
  4. | Ptr_carg of cptr
val carg_to_string : carg -> string
type cargs = carg list
val cargs2i : cfunc -> cargs -> int
val cargs2f : cfunc -> cargs -> float
val cargs2s : cfunc -> cargs -> string
OCaml

Innovation. Community. Security.