Add 'crates/wiggle/' from commit 'cd484e49932d8dd8f1bd1a002e0717ad8bff07fb'
git-subtree-dir: crates/wiggle git-subtree-mainline:2ead747f48git-subtree-split:cd484e4993
This commit is contained in:
16
crates/wiggle/tests/strings.witx
Normal file
16
crates/wiggle/tests/strings.witx
Normal file
@@ -0,0 +1,16 @@
|
||||
(use "errno.witx")
|
||||
(module $strings
|
||||
(@interface func (export "hello_string")
|
||||
(param $a_string string)
|
||||
(result $error $errno)
|
||||
(result $total_bytes u32)
|
||||
)
|
||||
|
||||
(@interface func (export "multi_string")
|
||||
(param $a string)
|
||||
(param $b string)
|
||||
(param $c string)
|
||||
(result $error $errno)
|
||||
(result $total_bytes u32)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user