Test using packed attribute
This commit is contained in:
@@ -56,7 +56,7 @@ typedef struct GroundError {
|
||||
/*
|
||||
* Stores literal values created in a Ground program.
|
||||
*/
|
||||
typedef struct GroundValue {
|
||||
typedef struct __attribute__((packed)) GroundValue {
|
||||
GroundValueType type;
|
||||
struct GroundStruct* customType;
|
||||
union {
|
||||
|
||||
@@ -60,7 +60,7 @@ typedef struct GroundError {
|
||||
* createIntGroundValue(), createDoubleGroundValue(), createStringGroundvalue(),
|
||||
* createCharGroundValue(), createBoolGroundValue(), freeGroundValue()
|
||||
*/
|
||||
typedef struct GroundValue {
|
||||
typedef struct __attribute__((packed)) GroundValue {
|
||||
GroundValueType type;
|
||||
struct GroundStruct* customType;
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user