Fix wiggle tests
This commit is contained in:
committed by
Andrew Brown
parent
df9c725fa0
commit
fa98f0bc91
@@ -1,18 +1,13 @@
|
||||
(use "errno.witx")
|
||||
|
||||
(typename $cookie
|
||||
(int u64
|
||||
(const $start 0)))
|
||||
(typename $cookie u64)
|
||||
(@witx const $cookie $start 0)
|
||||
|
||||
(typename $bool
|
||||
(enum u8
|
||||
$false
|
||||
$true))
|
||||
(typename $bool bool)
|
||||
|
||||
(module $ints
|
||||
(@interface func (export "cookie_cutter")
|
||||
(param $init_cookie $cookie)
|
||||
(result $error $errno)
|
||||
(result $is_start $bool)
|
||||
(result $error (expected $bool (error $errno)))
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user