And, adding a rather important header that I fogot in the heap rewrite
[tpg/acess2.git] / Kernel / include / heap_int.h
1 /*
2  * AcessOS Microkernel Version
3  * heap_int.h
4  * - Internal Heap Header
5  */
6 #ifndef _HEAP_INT_H
7 #define _HEAP_INT_H
8
9 typedef struct {
10         Uint    Size;
11          int    ValidSize;
12         const char      *File;
13          int    Line;
14         Uint    Magic;
15         char    Data[];
16 } tHeapHead;
17
18 typedef struct {
19         Uint    Magic;
20         tHeapHead       *Head;
21         tHeapHead       NextHead[];     // Array to make it act like an element, but have no size and refer to the next block
22 } tHeapFoot;
23
24 #endif

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