github.com/moontrade/nogc@v0.1.7/alloc/tlsf/arena.go (about) 1 //go:build !tinygo 2 // +build !tinygo 3 4 package tlsf 5 6 // Arena allocates memory from the underlying platform. It is used to add 7 // new memory to an Allocator. 8 type Arena interface { 9 Alloc(size uintptr) (uintptr, uintptr) 10 11 Free() 12 }