Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Extism bindings for OCaml
Returns the libextism version, not the version of the OCaml library
module Manifest = Extism_manifest
module Error : sig ... end
module Val_type : sig ... end
Val_type
enumerates every possible argument/result type
module Val : sig ... end
Val
represents low-level WebAssembly values
module Val_array : sig ... end
Val_array
is used for input/output parameters for host functions
module Current_plugin : sig ... end
Current_plugin
represents the plugin that is currently running, it should it should only be used from a host function
module Function : sig ... end
Function
is used to create new a new function, which can be called from a WebAssembly plugin
module Context : sig ... end
Context
is used to group plugins
val with_context : (Context.t -> 'a) -> 'a
Execute a function with a fresh context and free it after
module Plugin : sig ... end
Plugins
contain functions that can be called