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

Function main

examples/funcref_callbacks.rs:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const RHS: i32 = 3;
6
7fn main() -> Result<()> {
8 run_passed_funcref_example()?;
9 run_returned_funcref_example()?;
10 Ok(())
11}
12
13fn run_passed_funcref_example() -> Result<()> {
14 // Host receives funcref and calls it via an exported proxy.

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected