changed objref to prevent bugs
This commit is contained in:
parent
f3829559d4
commit
958c383f85
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
stackslot.c
10
stackslot.c
@ -1,14 +1,12 @@
|
||||
#ifndef STACKSLOT
|
||||
#define STACKSLOT
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "objref.c"
|
||||
|
||||
#ifndef STACKSLOT
|
||||
#define STACKSLOT
|
||||
typedef int Object;
|
||||
typedef struct ObjRef{
|
||||
unsigned int size;
|
||||
unsigned char data[1];
|
||||
} *ObjRef;
|
||||
|
||||
|
||||
typedef struct {
|
||||
bool isObjRef;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user