Files
wasmtime/crates/wiggle/tests/strings.witx
2021-02-18 14:45:20 -08:00

18 lines
352 B
Plaintext

(use "errno.witx")
(typename $ret u32)
(module $strings
(@interface func (export "hello_string")
(param $a_string string)
(result $error (expected $ret (error $errno)))
)
(@interface func (export "multi_string")
(param $a string)
(param $b string)
(param $c string)
(result $error (expected $ret (error $errno)))
)
)