diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-19 15:25:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-20 17:05:57 +0300 |
commit | 48071e171de41a23197c7328ba038331a936e0eb (patch) | |
tree | 73c7ef1da8e5dd76469d75c0336d88c3371e4263 /src/localconsts.h | |
parent | d07fba228b5251862ad670e1d4f079c9456fab4b (diff) | |
download | plus-48071e171de41a23197c7328ba038331a936e0eb.tar.gz plus-48071e171de41a23197c7328ba038331a936e0eb.tar.bz2 plus-48071e171de41a23197c7328ba038331a936e0eb.tar.xz plus-48071e171de41a23197c7328ba038331a936e0eb.zip |
Replace for to FOR_EACH in some classes.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index bde91720a..ba803ca86 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -59,6 +59,9 @@ #define FOR_EACH(type, iter, array) for (type iter = array.begin(), \ iter##_end = array.end(); iter != iter##_end; ++ iter) +#define FOR_EACHP(type, iter, array) for (type iter = array->begin(), \ + iter##_end = array->end(); iter != iter##_end; ++ iter) + //#define DEBUG_CONFIG 1 //#define DEBUG_BIND_TEXTURE 1 //#define DISABLE_RESOURCE_CACHING 1 |