Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
heap_arena.h File Reference

Heap arena implementation. More...

Include dependency graph for heap_arena.h:

Go to the source code of this file.

Classes

class  roc::core::HeapArena
 Heap arena implementation. More...
 

Namespaces

 roc
 Root namespace.
 
 roc::core
 General-purpose building blocks and platform abstraction layer.
 

Enumerations

enum  roc::core::HeapArenaGuard { roc::core::HeapArena_LeakGuard = (1 << 0) , roc::core::HeapArena_OverflowGuard = (1 << 1) , roc::core::HeapArena_OwnershipGuard = (1 << 2) }
 Heap arena guards. More...
 
enum  { HeapArena_DefaultGuards = (HeapArena_OverflowGuard | HeapArena_OwnershipGuard) }
 Default heap arena guards. Leak guard is disabled by default, because in C API leaks may be caused by user (e.g. if context wasn't closed before program exit). We don't want to turn bugs in user code into panics, only bugs in our own code should cause panics. More...
 

Detailed Description

Heap arena implementation.

Definition in file heap_arena.h.