finish factoring tests (#17)
* atoms in one test unit * factor out pointers test * factor structs into separate test unit * factor out arrays, flags * finally, separate into strings and ints
This commit is contained in:
11
tests/pointers.witx
Normal file
11
tests/pointers.witx
Normal file
@@ -0,0 +1,11 @@
|
||||
(use "errno.witx")
|
||||
(use "excuse.witx")
|
||||
|
||||
(module $pointers
|
||||
(@interface func (export "pointers_and_enums")
|
||||
(param $an_excuse $excuse)
|
||||
(param $an_excuse_by_reference (@witx pointer $excuse))
|
||||
(param $a_lamer_excuse (@witx const_pointer $excuse))
|
||||
(param $two_layers_of_excuses (@witx pointer (@witx const_pointer $excuse)))
|
||||
(result $error $errno))
|
||||
)
|
||||
Reference in New Issue
Block a user