This commit is contained in:
nilspolek 2024-01-28 10:51:57 +01:00
parent 958c383f85
commit 84dcb63ea7
9 changed files with 8 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,12 +5,15 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h>
#include "support.h" #include "support.h"
typedef struct { typedef struct ObjRef{
unsigned int size; /* byte count of payload data */ bool brokenHeart;
unsigned char data[1]; /* payload data, size as needed */ struct ObjRef *forward_pointer;
unsigned int size;
unsigned char data[1];
} *ObjRef; } *ObjRef;

Binary file not shown.

Binary file not shown.

BIN
njvm.o

Binary file not shown.

View File

@ -1,9 +1,10 @@
#ifndef OBJREF #ifndef OBJREF
#define OBJREF #define OBJREF
#include <stdbool.h> #include <stdbool.h>
typedef struct ObjRef{ typedef struct ObjRef{
bool brokenHeart;
// struct ObjRef *forward_pointer;
unsigned int size; unsigned int size;
unsigned char data[1]; unsigned char data[1];
} *ObjRef; } *ObjRef;

BIN
support.o

Binary file not shown.