wasmtime_component_linker_allow_shadowing function

  1. @Native<Void Function(Pointer<wasmtime_component_linker_t>, Bool)>(ffi.Pointer<wasmtime_component_linker_t>, ffi.Bool)>()
void wasmtime_component_linker_allow_shadowing(
  1. Pointer<wasmtime_component_linker_t> linker,
  2. bool allow
)

\brief Configures whether this linker allows later definitions to shadow previous definitions.

By default this setting is false.

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Pointer<wasmtime_component_linker_t>, ffi.Bool)
>()
external void wasmtime_component_linker_allow_shadowing(
  ffi.Pointer<wasmtime_component_linker_t> linker,
  bool allow,
);