Band-aid fix for structs, use more memory :\
This commit is contained in:
@@ -60,7 +60,7 @@ typedef struct GroundError {
|
|||||||
typedef struct GroundValue {
|
typedef struct GroundValue {
|
||||||
GroundValueType type;
|
GroundValueType type;
|
||||||
struct GroundStruct* customType;
|
struct GroundStruct* customType;
|
||||||
union {
|
struct {
|
||||||
int64_t intVal;
|
int64_t intVal;
|
||||||
double doubleVal;
|
double doubleVal;
|
||||||
char* stringVal;
|
char* stringVal;
|
||||||
|
|||||||
@@ -62,7 +62,8 @@ typedef struct GroundError {
|
|||||||
*/
|
*/
|
||||||
typedef struct GroundValue {
|
typedef struct GroundValue {
|
||||||
GroundValueType type;
|
GroundValueType type;
|
||||||
union {
|
struct GroundStruct* customType;
|
||||||
|
struct {
|
||||||
int64_t intVal;
|
int64_t intVal;
|
||||||
double doubleVal;
|
double doubleVal;
|
||||||
char* stringVal;
|
char* stringVal;
|
||||||
@@ -74,7 +75,6 @@ typedef struct GroundValue {
|
|||||||
struct GroundStruct* structVal;
|
struct GroundStruct* structVal;
|
||||||
struct GroundObject* customVal;
|
struct GroundObject* customVal;
|
||||||
} data;
|
} data;
|
||||||
struct GroundStruct* customType;
|
|
||||||
} GroundValue;
|
} GroundValue;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user