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