equal
deleted
inserted
replaced
84 IEC_##type fvalue;\ |
84 IEC_##type fvalue;\ |
85 } __IEC_##type##_p; |
85 } __IEC_##type##_p; |
86 |
86 |
87 #define __DECLARE_DERIVED_TYPE(type, base)\ |
87 #define __DECLARE_DERIVED_TYPE(type, base)\ |
88 typedef base type;\ |
88 typedef base type;\ |
89 typedef __IEC_##base##_t __IEC_##type##_t; |
89 typedef __IEC_##base##_t __IEC_##type##_t;\ |
|
90 typedef __IEC_##base##_p __IEC_##type##_p; |
90 |
91 |
91 #define __DECLARE_COMPLEX_STRUCT(type)\ |
92 #define __DECLARE_COMPLEX_STRUCT(type)\ |
92 typedef struct {\ |
93 typedef struct {\ |
93 type value;\ |
94 type value;\ |
94 IEC_BYTE flags;\ |
95 IEC_BYTE flags;\ |