wasmtime_linker_get function
- @Native<Bool Function(Pointer<
wasmtime_linker_t> , Pointer<wasmtime_context_t> , Pointer<wasm_byte_t> , Size, Pointer<wasm_byte_t> , Size, Pointer<wasmtime_extern_t> )>(ffi.Pointer<wasmtime_linker_t>, ffi.Pointer<wasmtime_context_t>, ffi.Pointer<ffi.Char>, ffi.Size, ffi.Pointer<ffi.Char>, ffi.Size, ffi.Pointer<wasmtime_extern_t>)>()
- Pointer<
wasmtime_linker_t> linker, - Pointer<
wasmtime_context_t> store, - Pointer<
wasm_byte_t> module, - int module_len,
- Pointer<
wasm_byte_t> name, - int name_len,
- Pointer<
wasmtime_extern_t> item,
\brief Loads an item by name from this linker.
\param linker the linker to load from
\param store the store to load the item into
\param module the name of the module to get
\param module_len the byte length of module
\param name the name of the field to get
\param name_len the byte length of name
\param item where to store the extracted item
\return A nonzero value if the item is defined, in which case item is also
filled in. Otherwise zero is returned.
Implementation
@ffi.Native<
ffi.Bool Function(
ffi.Pointer<wasmtime_linker_t>,
ffi.Pointer<wasmtime_context_t>,
ffi.Pointer<ffi.Char>,
ffi.Size,
ffi.Pointer<ffi.Char>,
ffi.Size,
ffi.Pointer<wasmtime_extern_t>,
)
>()
external bool wasmtime_linker_get(
ffi.Pointer<wasmtime_linker_t> linker,
ffi.Pointer<wasmtime_context_t> store,
ffi.Pointer<ffi.Char> module,
int module_len,
ffi.Pointer<ffi.Char> name,
int name_len,
ffi.Pointer<wasmtime_extern_t> item,
);