acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
plex.h
1#pragma once
2
3#define CA2_PALACE_SAFE_ZONE_BORDER_SIZE 32
4
5struct CLASS_DECL_ACME plex // warning ::payload length structure
6{
7 plex* pNext;
8 // ::u8 data[maxNum*elementSize];
9
10 void * data() { return ((::u8*)(this+1)) + CA2_PALACE_SAFE_ZONE_BORDER_SIZE; }
11
12 static plex* create(plex*& head, uptr nMax, uptr cbElement, ::heap::allocator * pallocator);
13 // like 'calloc' but no zero fill
14 // may throw ::exception( memory exceptions
15
16 void FreeDataChain(::heap::allocator * pallocator); // free this one and links
17};
18
Definition allocator.h:37
Definition plex.h:6