From bd1866ad8a860e1b6d43c7fc988cf8c346f19f33 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Sun, 6 Oct 2024 20:53:03 +0000 Subject: update go-ffmpreg to v0.3.1 (pulls in latest wazero too) (#3398) --- vendor/github.com/tetratelabs/wazero/experimental/memory.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vendor/github.com/tetratelabs/wazero/experimental/memory.go') diff --git a/vendor/github.com/tetratelabs/wazero/experimental/memory.go b/vendor/github.com/tetratelabs/wazero/experimental/memory.go index e379bf053..26540648b 100644 --- a/vendor/github.com/tetratelabs/wazero/experimental/memory.go +++ b/vendor/github.com/tetratelabs/wazero/experimental/memory.go @@ -35,6 +35,8 @@ type LinearMemory interface { // Notes: // - To back a shared memory, Reallocate can't change the address of the // backing []byte (only its length/capacity may change). + // - Reallocate may return nil if fails to grow the LinearMemory. This + // condition may or may not be handled gracefully by the Wasm module. Reallocate(size uint64) []byte // Free the backing memory buffer. Free() -- cgit v1.2.3