561
edits
m (last for now I promise! :)) |
(→Example: engines/quux/quux.h: looks better now) |
||
Line 45: | Line 45: | ||
// our engine debug levels | // our engine debug levels | ||
enum { | enum { | ||
kQuuxDebugExample = 1, | kQuuxDebugExample = 1 << 0, | ||
kQuuxDebugExample2 = | kQuuxDebugExample2 = 1 << 1 | ||
// next must be 4 | // next new level must be 1 << 2 (4) | ||
// the current limitation is 32 debug levels (1 << 31 is the last one) | |||
// one | |||
}; | }; | ||
Line 66: | Line 64: | ||
#endif | #endif | ||
</pre> | </pre> | ||
=== Example: engines/quux/quux.cpp === | === Example: engines/quux/quux.cpp === |
edits