How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
m
Line 148: Line 148:
struct naPool {
struct naPool {
     int          type; // one of T_STR, T_VEC, T_HASH etc
     int          type; // one of T_STR, T_VEC, T_HASH etc
     int          elemsz; // size of each element - determiend via naTypeSize(T_*)
     int          elemsz; // size of each element - determined via naTypeSize(T_*)
     struct Block* blocks;
     struct Block* blocks;
     void**  free0; // pointer to the alloced buffer
     void**  free0; // pointer to the alloced buffer

Navigation menu