Skip to contents

Grow WASM memory by a number of pages.

Usage

wasmer_memory_grow_ext(ptr, instance_name, memory_name, pages)

Arguments

ptr

External pointer to WasmerRuntime.

instance_name

Name of the instance.

memory_name

Name of the exported memory.

pages

Number of pages to grow.

Value

TRUE if successful

Details

Grow WASM memory by a number of pages

Examples

if (FALSE) { # \dontrun{
wasmer_memory_grow_ext(ptr, "inst1", "memory", 1)
} # }