Create a new plugin. @param wasm is a WASM module (wat or wasm) or a JSON encoded manifest @param wasmSize the length of the `wasm` parameter @param functions host functions @param nFunctions the number of host functions @param withWASI enables/disables WASI @param er
(byte[] wasm, long wasmSize, Pointer[] functions, int nFunctions, boolean withWASI, Pointer[] errmsg)
| 120 | * @return pointer to the plugin, or null in case of error |
| 121 | */ |
| 122 | Pointer extism_plugin_new(byte[] wasm, long wasmSize, Pointer[] functions, int nFunctions, boolean withWASI, Pointer[] errmsg); |
| 123 | Pointer extism_plugin_new_with_fuel_limit(byte[] wasm, long wasmSize, Pointer[] functions, int nFunctions, boolean withWASI, long fuelLimit, Pointer[] errmsg); |
| 124 | |
| 125 |