removed sda from stack.c

This commit is contained in:
nilspolek 2024-01-27 18:45:27 +01:00
parent 520cfa57d5
commit 8d667ec836
7 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
#ifndef CONSTS
#define CONSTS
#define VERSION 8
#define VERSION 7
#endif /* ifndef CONSTS
#define CONSTS

BIN
njvm.o

Binary file not shown.

View File

@ -32,7 +32,7 @@ void setField(ObjRef arr, int point, ObjRef value){
if(0 > point || point > getSize(arr)){
printf("Index %i out of bounds for length %i\n",point, getSize(arr));
}
GET_REFS_PTR(arr)[point] = malloc(20);
GET_REFS_PTR(arr)[point] = malloc(28);
* (ObjRef *)GET_REFS_PTR(arr)[point]->data = value;
}