lib/C/iec_types_all.h
changeset 909 8b2a31dea131
parent 904 423ea3749212
child 932 061824c45a5b
--- a/lib/C/iec_types_all.h	Sun Jul 06 23:31:08 2014 +0100
+++ b/lib/C/iec_types_all.h	Sun Jul 13 12:26:58 2014 +0100
@@ -86,6 +86,8 @@
   IEC_##type fvalue;\
 } __IEC_##type##_p;
 
+
+
 #define __DECLARE_DERIVED_TYPE(type, base)\
 typedef base type;\
 typedef __IEC_##base##_t __IEC_##type##_t;\
@@ -121,6 +123,11 @@
 } type;\
 __DECLARE_COMPLEX_STRUCT(type)
 
+#define __DECLARE_REFTO_TYPE(type, name)\
+typedef name * type;\
+__DECLARE_COMPLEX_STRUCT(type)
+
+
 /* Those typdefs clash with windows.h */
 /* i.e. this file cannot be included aside windows.h */
 __ANY(__DECLARE_IEC_TYPE)