DVUI

arena

A general allocator for using during a frame. All allocations will be freed at the end of the frame.

If any dvui functions are called before freeing memory, it is not guaranteed that the allocation can be freed.

For temporary allocations, see Window.lifo

Parameters

#
self:*Self
*Self

Source

Implementation

#
pub fn arena(self: *Self) std.mem.Allocator {
    return self._arena.allocator();
}