You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
445 B
18 lines
445 B
5 years ago
|
(use "errno.witx")
|
||
|
(use "excuse.witx")
|
||
|
|
||
|
(typename $const_excuse_array (array (@witx const_pointer $excuse)))
|
||
|
(typename $excuse_array (array (@witx pointer $excuse)))
|
||
|
|
||
|
(module $arrays
|
||
|
(@interface func (export "reduce_excuses")
|
||
|
(param $excuses $const_excuse_array)
|
||
|
(result $error $errno)
|
||
|
(result $reduced $excuse)
|
||
|
)
|
||
|
(@interface func (export "populate_excuses")
|
||
|
(param $excuses $excuse_array)
|
||
|
(result $error $errno)
|
||
|
)
|
||
|
)
|