github.com/moontrade/unsafe@v0.9.1/memory/tlsf/arena.go (about)

     1  //go:build !tinygo
     2  
     3  package tlsf
     4  
     5  // Arena allocates memory from the underlying platform. It is used to add
     6  // new memory to an Allocator.
     7  type Arena interface {
     8  	Alloc(size uintptr) (uintptr, uintptr)
     9  
    10  	Free()
    11  }