MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / HostFunction

Class HostFunction

crates/tinywasm/src/func.rs:127–130  ·  view source on GitHub ↗

A host function

Source from the content-addressed store, hash-verified

125
126/// A host function
127pub struct HostFunction {
128 pub(crate) ty: Arc<tinywasm_types::FuncType>,
129 pub(crate) func: HostFuncInner,
130}
131
132impl HostFunction {
133 /// Get the function's type

Callers 1

exec_call_hostMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected