src/main.h

changeset 557
04e140bdeb0b
parent 554
2478a6b3106d
child 560
39085791128f
--- a/src/main.h	Fri Dec 13 00:39:49 2013 +0200
+++ b/src/main.h	Fri Dec 13 20:01:49 2013 +0200
@@ -122,6 +122,7 @@
 #define properties private
 #define typedefs public
 #define methods
+#define for_axes(AX) for (const Axis ax : std::initializer_list<const Axis> ({X, Y, Z}))
 
 // -----------------------------------------------------------------------------
 #ifdef IN_IDE_PARSER // KDevelop workarounds:

mercurial