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.
15 lines
327 B
15 lines
327 B
(use "errno.witx")
|
|
|
|
(typename $car_config
|
|
(flags (@witx repr u8)
|
|
$automatic
|
|
$awd
|
|
$suv))
|
|
|
|
(module $flags
|
|
(@interface func (export "configure_car")
|
|
(param $old_config $car_config)
|
|
(param $old_config_by_ptr (@witx const_pointer $car_config))
|
|
(result $error (expected $car_config (error $errno)))
|
|
)
|
|
)
|
|
|