8765a96ba3e76b7462879cd5945a920e4d90fff3
[tpg/acess2.git] / Kernel / include / heap.h
1 /*
2  * AcessOS Microkernel Version
3  * heap.h
4  */
5 #ifndef _HEAP_H
6 #define _HEAP_H
7
8 typedef struct {
9         Uint    Size;
10         Uint    Magic;
11         char    Data[];
12 } tHeapHead;
13
14 typedef struct {
15         Uint    Magic;
16         tHeapHead       *Head;
17         tHeapHead       NextHead[];     // Array to make it act like a pointer, but have no size and refer to the next block
18 } tHeapFoot;
19
20 #endif

UCC git Repository :: git.ucc.asn.au