wasmtime_linker_instantiate_pre function
- @Native<Pointer<
wasmtime_error_t> Function(Pointer<wasmtime_linker_t> linker, Pointer<wasmtime_module_t> module, Pointer<Pointer< instance_pre)>(ffi.Pointer<wasmtime_linker_t>, ffi.Pointer<wasmtime_module_t>, ffi.Pointer<ffi.Pointer<wasmtime_instance_pre_t>>)>()wasmtime_instance_pre_t> >
- Pointer<
wasmtime_linker_t> linker, - Pointer<
wasmtime_module_t> module, - Pointer<
Pointer< instance_prewasmtime_instance_pre_t> >
\brief Perform all the checks for instantiating module with the linker,
except that instantiation doesn't actually finish.
\param linker the linker used to instantiate the provided module. \param module the module that is being instantiated. \param instance_pre the returned instance_pre, if successful.
\return An error or NULL if successful.
For more information see the Rust documentation at: https://docs.wasmtime.dev/api/wasmtime/struct.Linker.html#method.instantiate_pre
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_error_t> Function(
ffi.Pointer<wasmtime_linker_t>,
ffi.Pointer<wasmtime_module_t>,
ffi.Pointer<ffi.Pointer<wasmtime_instance_pre_t>>,
)
>()
external ffi.Pointer<wasmtime_error_t> wasmtime_linker_instantiate_pre(
ffi.Pointer<wasmtime_linker_t> linker,
ffi.Pointer<wasmtime_module_t> module,
ffi.Pointer<ffi.Pointer<wasmtime_instance_pre_t>> instance_pre,
);