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