From f6ec29caea10ee88383608c655da36b1a2b0fe50 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Thu, 26 Jun 2025 08:51:07 -0400 Subject: [PATCH] Remove deprecated `malloc` callback. Signed-off-by: Piotr Sikora --- abi-versions/vNEXT/README.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/abi-versions/vNEXT/README.md b/abi-versions/vNEXT/README.md index 272062e..b901cfd 100644 --- a/abi-versions/vNEXT/README.md +++ b/abi-versions/vNEXT/README.md @@ -123,26 +123,6 @@ memory. Returning `0` indicates failure. -#### `malloc` - -* params: - - `i32 (size_t) memory_size` -* returns: - - `i32 (uint8_t *) memory_data` - -> **Warning** -> This callback has been deprecated in favor of [`proxy_on_memory_allocate`], -> and it's called only in its absence. - -Called to allocate continuous memory buffer of `memory_size` using -the in-VM memory allocator. - -Plugin must return `memory_data` pointing to the start of the allocated -memory. - -Returning `0` indicates failure. - - ## Context lifecycle ### Callbacks exposed by the Wasm module