Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

327 B
Raw Blame
(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)))
  )
)