You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Package cabi contains a single WebAssembly function exported as cabi_realloc.
2
+
//
3
+
// To use, import this package with _:
4
+
//
5
+
// import _ "go.bytecodealliance.org/x/cabi"
6
+
//
7
+
// Function realloc is a WebAssembly [core function] that is validated to have the following core function type:
8
+
//
9
+
// (func (param $originalPtr i32)
10
+
// (param $originalSize i32)
11
+
// (param $alignment i32)
12
+
// (param $newSize i32)
13
+
// (result i32))
14
+
//
15
+
// The [Canonical ABI] will use realloc both to allocate (passing 0 for the first two parameters) and reallocate. If the Canonical ABI needs realloc, validation requires this option to be present (there is no default).
0 commit comments