-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
There's been a few changes to the reference types proposal which I don't believe have been reflected into the C API. Notably I think a few things need to be added to fully support the reference types proposal:
wasm_val_t
should be extended with awasm_func_t
orwasm_funcref_t
variant in its union- Construction of a host-defined
externref
value should be supported, either through construction ofwasm_ref_t
directly or through a new typewasm_externref_t
. - Given the lack of subtyping in reference types I'm not sure if the various conversion functions between
wasm_ref_t
and other types should still be supported (or if types likewasm_module_t
should be convert-ible to references)
Metadata
Metadata
Assignees
Labels
No labels