wasmtime_global_type function

  1. @Native<Pointer<wasm_globaltype_t> Function(Pointer<wasmtime_context_t> store, Pointer<wasmtime_global_t> global)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_global_t>)>()
Pointer<wasm_globaltype_t> wasmtime_global_type(
  1. Pointer<wasmtime_context_t> store,
  2. Pointer<wasmtime_global_t> global
)

\brief Returns the wasm type of the specified global.

The returned #wasm_globaltype_t is owned by the caller.

Implementation

@ffi.Native<
  ffi.Pointer<wasm_globaltype_t> Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_global_t>,
  )
>()
external ffi.Pointer<wasm_globaltype_t> wasmtime_global_type(
  ffi.Pointer<wasmtime_context_t> store,
  ffi.Pointer<wasmtime_global_t> global,
);