# HG changeset patch # User laurent # Date 1329859737 -3600 # Node ID ff3313e228833396e5feaaac3f78643cdf4c2415 # Parent b6568471de909bfb52184f299217e5e72d3310ad Fix bug pointed structure not declared for directly derived datatypes diff -r b6568471de90 -r ff3313e22883 lib/iec_types_all.h --- a/lib/iec_types_all.h Thu Feb 16 13:27:04 2012 +0100 +++ b/lib/iec_types_all.h Tue Feb 21 22:28:57 2012 +0100 @@ -86,7 +86,8 @@ #define __DECLARE_DERIVED_TYPE(type, base)\ typedef base type;\ -typedef __IEC_##base##_t __IEC_##type##_t; +typedef __IEC_##base##_t __IEC_##type##_t;\ +typedef __IEC_##base##_p __IEC_##type##_p; #define __DECLARE_COMPLEX_STRUCT(type)\ typedef struct {\