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.
16 lines
320 B
16 lines
320 B
(use "errno.witx")
|
|
|
|
(typename $car_config
|
|
(flags 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 $errno)
|
|
(result $new_config $car_config)
|
|
)
|
|
)
|
|
|