mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-03-23 18:05:16 +08:00
Fix compilation error with ARRAY inside FB
This commit is contained in:
@@ -117,6 +117,12 @@ typedef struct {\
|
||||
} type;\
|
||||
__DECLARE_COMPLEX_STRUCT(type)
|
||||
|
||||
#define __DECLARE_ARRAY_TYPE_WRAPPER(type, base, size)\
|
||||
typedef struct {\
|
||||
__IEC_##base##_t table size;\
|
||||
} type;\
|
||||
__DECLARE_COMPLEX_STRUCT(type)
|
||||
|
||||
#define __DECLARE_STRUCT_TYPE(type, elements)\
|
||||
typedef struct {\
|
||||
elements\
|
||||
|
||||
Reference in New Issue
Block a user