wasmtime_tag_new function
- @Native<Pointer<
wasmtime_error_t> Function(Pointer<wasmtime_context_t> store, Pointer<wasm_tagtype_t> tt, Pointer<wasmtime_tag_t> ret)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasm_tagtype_t>, ffi.Pointer<wasmtime_tag_t>)>()
- Pointer<
wasmtime_context_t> store, - Pointer<
wasm_tagtype_t> tt, - Pointer<
wasmtime_tag_t> ret
\brief Creates a new host-defined tag.
\param store the store in which to create the tag \param tt the tag type that describes the tag's exception payload \param ret on success, filled with the new tag
\return NULL on success, otherwise an error describing the failure.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_error_t> Function(
ffi.Pointer<wasmtime_context_t>,
ffi.Pointer<wasm_tagtype_t>,
ffi.Pointer<wasmtime_tag_t>,
)
>()
external ffi.Pointer<wasmtime_error_t> wasmtime_tag_new(
ffi.Pointer<wasmtime_context_t> store,
ffi.Pointer<wasm_tagtype_t> tt,
ffi.Pointer<wasmtime_tag_t> ret,
);