wasmtime_component_extern_external_id function
- @Native<Pointer<
wasm_byte_t> Function(Pointer<wasmtime_component_extern_t> e, Pointer<Size> len)>(ffi.Pointer<wasmtime_component_extern_t>, ffi.Pointer<ffi.Size>)>()
- Pointer<
wasmtime_component_extern_t> e, - Pointer<
Size> len
\brief Returns the external-id attribute of this import/export.
Returns NULL if this isn't present. Writes the length of the return value
to len. The returned pointer cannot be used outside the lifetime of e.
Implementation
@ffi.Native<
ffi.Pointer<ffi.Char> Function(
ffi.Pointer<wasmtime_component_extern_t>,
ffi.Pointer<ffi.Size>,
)
>()
external ffi.Pointer<ffi.Char> wasmtime_component_extern_external_id(
ffi.Pointer<wasmtime_component_extern_t> e,
ffi.Pointer<ffi.Size> len,
);