cgma
|
00001 #ifndef VG_DEFINES_H 00002 #define VG_DEFINES_H 00003 00004 enum { 00005 SUBCOMP_PARTITION_LAYER = 126, 00006 COMPOSITE_LAYER = 127, 00007 SUPERCOMP_PARTITION_LAYER = 128 00008 }; 00009 00010 /* used for printing debug info - remove leading 00011 digits from type_info::name() on linux */ 00012 #ifdef __GNUC__ 00013 # include <ctype.h> 00014 inline const char* fix_type_name(const char* name) 00015 { while( isdigit(*name) ) name++; return name; } 00016 #else 00017 # define fix_type_name(A) A 00018 #endif 00019 00020 #endif