You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created WebAssembly/wasm-c-api#193, but I thought I'd cross-post the issue to see if anybody here has a solution.
I don't see a way to use wasm_c_api.h to create null function references. We have wasm_func_as_ref to turn non-null wasm_func_t into wasm_ref_t, but I'd like to be able to obtain a wasm_ref_t representing a null function.
Is this feature missing in the API, or am I just not seeing it?
BTW, the purpose is to be able to implement certain spec tests, such as
I created WebAssembly/wasm-c-api#193, but I thought I'd cross-post the issue to see if anybody here has a solution.
I don't see a way to use
wasm_c_api.h
to create null function references. We havewasm_func_as_ref
to turn non-nullwasm_func_t
intowasm_ref_t
, but I'd like to be able to obtain awasm_ref_t
representing a null function.Is this feature missing in the API, or am I just not seeing it?
BTW, the purpose is to be able to implement certain spec tests, such as
(see the original test)
The text was updated successfully, but these errors were encountered: