Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
heap.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
15
#include "
core/config.h
"
16
#if (__WIN32__)
17
#include "
memory/win32/win32heap.h
"
18
namespace
Memory
19
{
20
typedef
Win32::Win32Heap
Heap
;
21
}
22
#elif ( __OSX__ || __APPLE__ || __linux__ )
23
#include "
memory/posix/posixheap.h
"
24
namespace
Memory
25
{
26
typedef
Posix::PosixHeap
Heap
;
27
}
28
#else
29
#error "IMPLEMENT ME!"
30
#endif
Heap
Implements a private heap.
Posix::PosixHeap
Posix implementation of the class Memory::Heap using the Posix-Heap functions.
Definition
posixheap.h:25
Win32::Win32Heap
Win32 implementation of the class Memory::Heap.
Definition
win32heap.h:23
config.h
Nebula compiler specific defines and configuration.
Memory
Definition
arenaallocator.h:31
posixheap.h
win32heap.h
code
foundation
memory
heap.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.