wasmtime_memory_size function

  1. @Native<Uint64 Function(Pointer<wasmtime_context_t>, Pointer<wasmtime_memory_t>)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_memory_t>)>()
int wasmtime_memory_size(
  1. Pointer<wasmtime_context_t> store,
  2. Pointer<wasmtime_memory_t> memory
)

\brief Returns the length, in WebAssembly pages, of this linear memory

Implementation

@ffi.Native<
  ffi.Uint64 Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_memory_t>,
  )
>()
external int wasmtime_memory_size(
  ffi.Pointer<wasmtime_context_t> store,
  ffi.Pointer<wasmtime_memory_t> memory,
);