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

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

#1 fix and arrange doxygen configuration file and doxygen comments

File size: 550 bytes
Line 
1/**
2 * \file cf_local.h
3 * \author myusgun <myusgun@gmail.com>
4 */
5#ifndef __CF_LOCAL_H__
6#define __CF_LOCAL_H__
7
8/** 파일 이름 및 경로 길이 */
9#define NAME_LENGTH 128
10
11/** 예외 처리 */
12#define TRY do
13#define TRY_BREAK break
14#define NO_CATCH while (0)
15#define CATCH_IF(__expr) NO_CATCH; if (__expr)
16#define CATCH_ELSE_IF(__expr) else if (__expr)
17#define CATCH_ELSE else
18
19/** non-compatible function */
20#if defined(_WIN32) || defined(_WIN64)
21# define snprintf _snprintf
22#else
23#endif
24
25#endif // #ifndef __CF_LOCAL_H__
Note: See TracBrowser for help on using the repository browser.