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