Add Memory data length

This commit is contained in:
Brandon Fish
2019-02-10 14:14:42 -06:00
parent 2fa9cec0ed
commit 0cfe864fe6
4 changed files with 18 additions and 15 deletions

View File

@@ -113,6 +113,8 @@ wasmer_compile_result_t wasmer_instantiate(wasmer_instance_t **instance,
uint32_t wasm_bytes_len,
wasmer_import_object_t *import_object);
uint32_t wasmer_memory_data_length(wasmer_memory_t *mem);
void wasmer_memory_destroy(wasmer_memory_t *memory);
wasmer_memory_result_t wasmer_memory_grow(wasmer_memory_t *memory, uint32_t delta);