Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
memoryArena.h
Go to the documentation of this file.
1#pragma once
3
4namespace samurai
5{
6namespace memory
7{
8
9
11 {
12 size_t size = 0;
13 void *block = 0;
14 };
15
16
18 {
19
20 //this is used to allocate the static memory of the container (struct member data)
22
23 //just malloc now probably an allocator in the future?
24 void allocateStaticMemory(const ContainerInformation &containerInfo);
26 };
27
28
29
30
31};
32};
33
void allocateStaticMemory(const ContainerInformation &containerInfo)