package ctypes-foreign

  1. Overview
  2. Docs
val function_of_pointer : ?name:string -> abi:Libffi_abi.abi -> check_errno:bool -> release_runtime_lock:bool -> ('a -> 'b) Ctypes_static.fn -> ('a -> 'b) Ctypes_static.static_funptr -> 'a -> 'b
val pointer_of_function : abi:Libffi_abi.abi -> acquire_runtime_lock:bool -> thread_registration:bool -> ('a -> 'b) Ctypes_static.fn -> ('a -> 'b) -> ('a -> 'b) Ctypes_static.static_funptr
val free_funptr : 'a funptr -> unit
val funptr_of_fun : abi:Libffi_abi.abi -> acquire_runtime_lock:bool -> thread_registration:bool -> ('a -> 'b) Ctypes_static.fn -> ('a -> 'b) -> ('a -> 'b) funptr
val funptr_of_static_funptr : ('a -> 'b) Ctypes_static.static_funptr -> ('a -> 'b) funptr
val funptr_to_static_funptr : ('a -> 'b) funptr -> ('a -> 'b) Ctypes_static.static_funptr
val report_leaked_funptr : (string -> unit) ref
OCaml

Innovation. Community. Security.