Almost finished w/ 1st impl of GC
This commit is contained in:
parent
7fd324a5b2
commit
deed239879
4 changed files with 208 additions and 12 deletions
15
src/GC/include/chunk.hpp
Normal file
15
src/GC/include/chunk.hpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define CHUNK_LIST_CAP 1024
|
||||
|
||||
namespace GC {
|
||||
|
||||
struct Chunk {
|
||||
bool marked;
|
||||
void *start;
|
||||
size_t size;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue