malloc abstract method

int malloc(
  1. int size
)

Provides access to the malloc function in WebAssembly.

Allocates size bytes of memory and returns the corresponding address.

Memory allocated by this should be freed afterwards.

Implementation

int malloc(int size);