source:
libcf/trunk/src/cf_local.h@
4
Last change on this file since 4 was 4, checked in by , 11 years ago | |
---|---|
File size: 272 bytes |
Rev | Line | |
---|---|---|
[4] | 1 | /* |
2 | * cf_local.h | |
3 | */ | |
4 | #ifndef __CF_LOCAL_H__ | |
5 | #define __CF_LOCAL_H__ | |
6 | ||
7 | #define TRY do | |
8 | #define TRY_BREAK break | |
9 | #define CATCH_IF(__expr) while (0); if (__expr) | |
10 | #define CATCH_ELSE_IF(__expr) else if (__expr) | |
11 | #define CATCH_ELSE else | |
12 | ||
13 | #endif // #ifndef __CF_LOCAL_H__ |
Note:
See TracBrowser
for help on using the repository browser.