Changeset 3325 for code/trunk/src/core/Super.h
- Timestamp:
- Jul 19, 2009, 3:48:00 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 merged: 3222-3224,3238
- Property svn:mergeinfo changed
-
code/trunk/src/core/Super.h
r3301 r3325 206 206 207 207 // SUPER-macro: Calls Parent::functionname() where Parent is the direct parent of classname 208 #define SUPER(classname, functionname, ...) \ 209 SUPER_##functionname(classname, functionname, __VA_ARGS__) 208 #ifdef ORXONOX_COMPILER_MSVC 209 #define SUPER(classname, functionname, ...) \ 210 __super::functionname(__VA_ARGS__) 211 #else 212 #define SUPER(classname, functionname, ...) \ 213 SUPER_##functionname(classname, functionname, __VA_ARGS__) 214 #endif 210 215 211 216 // helper macro: for functions without arguments
Note: See TracChangeset
for help on using the changeset viewer.