Files
wasmtime/test.witx
2020-01-23 17:55:59 -08:00

26 lines
434 B
Plaintext

(typename $errno
(enum u32
$ok
$invalid_arg
$dont_want_to
$physically_unable
$picket_line))
(typename $excuse
(enum u8
$dog_ate
$traffic
$sleeping))
(module $foo
(@interface func (export "bar")
(param $an_int u32)
(param $an_float f32)
(result $error $errno))
(@interface func (export "baz")
(param $an_excuse $excuse)
(result $error $errno))
)