Get the function's type
(&self)
| 132 | impl 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>> { |
no outgoing calls
no test coverage detected