Module P11_load_modeSource

Sourcetype t = private
  1. | Auto
  2. | Stubs
  3. | FFI

How the interaction is done with the DLL.

Sourceval compare : t -> t -> Ppx_deriving_runtime.int
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
Sourceval ffi : t

Call directly each symbol using libffi.

Sourceval stubs : t

Use C stubs to load the DLL using dlopen, and call each symbol through C_GetFunctionList.

Sourceval auto : t

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