Commiting merge with Laurent's recent dead code removal change.
authorMario de Sousa <msousa@fe.up.pt>
Sun, 15 May 2011 10:22:15 +0100
changeset 297 5670eda90408
parent 296 9cf0d701d211 (current diff)
parent 291 1b0686c546ab (diff)
child 298 022a874149ce
Commiting merge with Laurent's recent dead code removal change.
--- a/lib/iec_std_lib.h	Tue Apr 19 09:36:59 2011 +0100
+++ b/lib/iec_std_lib.h	Sun May 15 10:22:15 2011 +0100
@@ -1307,36 +1307,3 @@
 
 __compare_string(__ne_, != )
 
-
-/* Get string representation of variable referenced by a void pointer
- * where type is given as its number */
-/*#define __decl_str_case(cat,TYPENAME) \
-    case TYPENAME##_ENUM:\
-        return __##cat##_to_string(*(TYPENAME*)p);
-#define __decl_str_case_bit(TYPENAME) __decl_str_case(bit,TYPENAME)
-#define __decl_str_case_real(TYPENAME) __decl_str_case(real,TYPENAME)
-#define __decl_str_case_sint(TYPENAME) __decl_str_case(sint,TYPENAME)
-#define __decl_str_case_uint(TYPENAME) __decl_str_case(uint,TYPENAME)
-static inline STRING __get_type_enum_str(__IEC_types_enum t, void* p){
- switch(t){
-  __decl_str_case(bool,BOOL)
-  ANY_NBIT(__decl_str_case_bit)
-  ANY_REAL(__decl_str_case_real)
-  ANY_SINT(__decl_str_case_sint)
-  ANY_UINT(__decl_str_case_uint)
-  __decl_str_case(time,TIME)
-  __decl_str_case(date,DATE)
-  __decl_str_case(tod,TOD)
-  __decl_str_case(dt, DT)
- }
-}
-*/
-
-
-
-
-#include "standard_functions.h"
-
-
-
-