Main Page   Modules   Compound List   File List   Compound Members   File Members  

gc.h

Go to the documentation of this file.
00001 
00013 #ifndef JAUNE_GC_H
00014 #define JAUNE_GC_H      1
00015 
00016 #include "clib.h"
00017 
00022 void InitHeap(void *pBase, UINT uSize);
00023 
00027 void *__Alloc(UINT uSize);
00028 //#define Alloc(_a) (printf("Calling alloc from %s:%u\n", __FILE__, __LINE__), __Alloc(_a))
00029 #define Alloc(_a) __Alloc(_a)
00030 
00037 void *GrowAlloc(void *p, UINT uNewSize);
00038 
00042 void Free(void *p);
00043 
00048 UINT GetAvailableHeap(void);
00049 
00064 UINT RunGarbageCollectorInt(void **pStack, UINT nInStack, void **pStatic, UINT nInStatic);
00065 
00066 UINT RunGarbageCollector(void);
00067 
00068 void SetupGarbageCollector(UINT16 *pTopOfStack, void **pStatics, UINT nInStatic);
00069 
00072 void DumpHeapState(void);
00073 
00074 #endif

Generated on Sat May 11 15:15:41 2002 for JauneRuntimeclib by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002