Module P11_load_mode

type t = private
| Auto
| FFI

How the interaction is done with the DLL.

val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val ffi : t

Call directly each symbol using libffi.

val auto : t

Call C_GetFunctionList using libffi. For each symbol, try to access it through the returned function list. Otherwise, call the symbol directly.