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