gc
This commit is contained in:
parent
50b6bc0694
commit
e3b228061f
1
record.c
1
record.c
@ -8,7 +8,6 @@
|
|||||||
#include "njvm.h"
|
#include "njvm.h"
|
||||||
|
|
||||||
ObjRef newRecord(int size){
|
ObjRef newRecord(int size){
|
||||||
printf("Size: %i\n", size);
|
|
||||||
ObjRef record;
|
ObjRef record;
|
||||||
unsigned int objSize;
|
unsigned int objSize;
|
||||||
objSize = sizeof(*record) + (size * sizeof(void *));
|
objSize = sizeof(*record) + (size * sizeof(void *));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user