Quick reference guide and runtime errors.

This commit is contained in:
Victor Olin 2023-03-22 11:18:30 +01:00
parent 87dc0fef2d
commit ad29cc5ee5
5 changed files with 89 additions and 52 deletions

View file

@ -123,6 +123,7 @@ namespace GC
static void init();
static void dispose();
static void *alloc(size_t size);
void set_profiler(bool mode);
#ifdef DEBUG
static Heap *debug_the()
@ -136,7 +137,6 @@ namespace GC
void check_init(); // print dummy things
void print_contents(); // print dummy things
void print_allocated_chunks(Heap *heap); // print the contents in m_allocated_chunks
void set_profiler(bool mode);
#endif
};
}