gc
This commit is contained in:
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 *));
|
||||||
|
|||||||
Reference in New Issue
Block a user