MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / Func

Method Func

crates/c-api/include/wasmtime/_func_class.hh:143–143  ·  view source on GitHub ↗

Creates a new function from the raw underlying C API representation.

Source from the content-addressed store, hash-verified

141public:
142 /// Creates a new function from the raw underlying C API representation.
143 Func(wasmtime_func_t func) : func(func) {}
144
145 /**
146 * \brief Creates a new host-defined function.

Callers

nothing calls this directly

Calls 3

wasmtime_func_newFunction · 0.85
releaseMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected