Band-aid fix for structs, use more memory :\

This commit is contained in:
2026-01-23 13:48:18 +11:00
parent 68182d916e
commit e8c49508a0
2 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ typedef struct GroundError {
typedef struct GroundValue {
GroundValueType type;
struct GroundStruct* customType;
union {
struct {
int64_t intVal;
double doubleVal;
char* stringVal;

View File

@@ -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;
/*