package extism

  1. Overview
  2. Docs
Extism bindings

Install

Dune Dependency

Authors

Maintainers

Sources

v0.5.0.tar.gz
md5=83bd5cc838071848b407322dd023e504
sha512=b6f55c124fe816e6a1cedf14c65385376802f0c758f3ffc763a8e15994bc8ff9719f078a9b75196f8adb41484dd4999bc932a6e0555d0c5d9c0222653a2467d8

doc/extism/Extism/index.html

Module ExtismSource

Extism bindings for OCaml

Sourceval extism_version : unit -> string

Returns the libextism version, not the version of the OCaml library

Sourcemodule Manifest = Extism_manifest
Sourcemodule Error : sig ... end
Sourcemodule Val_type : sig ... end

Val_type enumerates every possible argument/result type

Sourcemodule Val : sig ... end

Val represents low-level WebAssembly values

Sourcemodule Val_array : sig ... end

Val_array is used for input/output parameters for host functions

Sourcemodule Current_plugin : sig ... end

Current_plugin represents the plugin that is currently running, it should it should only be used from a host function

Sourcemodule Function : sig ... end

Function is used to create new a new function, which can be called from a WebAssembly plugin

Sourcemodule Context : sig ... end

Context is used to group plugins

Sourceval with_context : (Context.t -> 'a) -> 'a

Execute a function with a fresh context and free it after

Sourceval set_log_file : ?level:[ `Error | `Warn | `Info | `Debug | `Trace ] -> string -> bool
Sourcemodule Plugin : sig ... end

Plugins contain functions that can be called

OCaml

Innovation. Community. Security.