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