Zone

@implicitNotFound("Given method requires an implicit zone.")
trait Zone

Zone allocator which manages memory allocations.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def alloc(size: CSize): Ptr[Byte]

Allocates memory of given size.

Allocates memory of given size.

def close(): Unit

Frees allocations. This zone allocator is not reusable once closed.

Frees allocations. This zone allocator is not reusable once closed.

def isClosed: Boolean

Return this zone allocator is closed or not.

Return this zone allocator is closed or not.

Concrete methods

def isOpen: Boolean

Return this zone allocator is open or not.

Return this zone allocator is open or not.