componentModelRealloc

fun componentModelRealloc(originalPtr: Int, originalSize: Int, newSize: Int): Int(source)

WebAssembly Component Model Canonical ABI realloc implementation. This function is intended to be exported to a Component Model and must not be called directly. Memory allocated by this function must be freed by calling freeAllComponentModelReallocAllocatedMemory before calling any withScopedMemoryAllocator.

Since Kotlin

1.8
fun componentModelRealloc(originalPtr: Int, originalSize: Int, newSize: Int): Int(source)

WebAssembly Component Model Canonical ABI realloc implementation. This function is intended to be exported to a Component Model and must not be called directly. Memory allocated by this function must be freed by calling freeAllComponentModelReallocAllocatedMemory before calling any withScopedMemoryAllocator.

Since Kotlin

1.8