source: libcf/trunk/src/cf_local.h@ 23

Last change on this file since 23 was 23, checked in by cheese, 11 years ago

#1 change local functions in source code to static functions and some comments

File size: 302 bytes
Line 
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 NO_CATCH while (0)
10#define CATCH_IF(__expr) NO_CATCH; if (__expr)
11#define CATCH_ELSE_IF(__expr) else if (__expr)
12#define CATCH_ELSE else
13
14#endif // #ifndef __CF_LOCAL_H__
Note: See TracBrowser for help on using the repository browser.