diff options
author | 2024-10-06 20:53:03 +0000 | |
---|---|---|
committer | 2024-10-06 20:53:03 +0000 | |
commit | bd1866ad8a860e1b6d43c7fc988cf8c346f19f33 (patch) | |
tree | 6726f95b30b73baa4e5a7feed5c0b41bf46116db /vendor/github.com/tetratelabs/wazero/experimental/memory.go | |
parent | [chore/themes] Tweak colors on new themes (#3397) (diff) | |
download | gotosocial-bd1866ad8a860e1b6d43c7fc988cf8c346f19f33.tar.xz |
update go-ffmpreg to v0.3.1 (pulls in latest wazero too) (#3398)
Diffstat (limited to 'vendor/github.com/tetratelabs/wazero/experimental/memory.go')
-rw-r--r-- | vendor/github.com/tetratelabs/wazero/experimental/memory.go | 2 |
1 files changed, 2 insertions, 0 deletions
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() |