20,741
edits
m (→Memory blocks) |
m (→Memory blocks) |
||
| Line 125: | Line 125: | ||
// mark all new blocks as unreachable and add them to the pool's free list | // mark all new blocks as unreachable and add them to the pool's free list | ||
for(i=0; i < need; i++) { | for(i=0; i < need; i++) { | ||
// initialize each new new memory blocks by setting up an naRef (the container for all Nasal references) | |||
struct naObj* o = (struct naObj*)(newb->block + i*p->elemsz); | struct naObj* o = (struct naObj*)(newb->block + i*p->elemsz); | ||
o->mark = 0; | o->mark = 0; | ||