MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / ty

Method ty

crates/tinywasm/src/func.rs:134–136  ·  view source on GitHub ↗

Get the function's type

(&self)

Source from the content-addressed store, hash-verified

132impl HostFunction {
133 /// Get the function's type
134 pub fn ty(&self) -> &Arc<tinywasm_types::FuncType> {
135 &self.ty
136 }
137
138 /// Call the function
139 pub fn call(&self, ctx: FuncContext<'_>, args: &[WasmValue]) -> Result<Vec<WasmValue>> {

Callers 6

resume_with_fuelMethod · 0.45
func_untypedMethod · 0.45
func_by_indexMethod · 0.45
start_funcMethod · 0.45
linkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected