WASIComponentCanonicalRealloc typedef

WASIComponentCanonicalRealloc = int Function(int oldPointer, int oldSize, int alignment, int newSize)

Canonical-style realloc callback used when lifting strings into memory.

Implementation

typedef WASIComponentCanonicalRealloc =
    int Function(int oldPointer, int oldSize, int alignment, int newSize);