source:
libcf/trunk/include/cf_base.h@
4
Last change on this file since 4 was 4, checked in by , 11 years ago | |
---|---|
File size: 368 bytes |
Line | |
---|---|
1 | /** |
2 | * cf_base.h |
3 | */ |
4 | #ifndef __CF_BASE_H__ |
5 | #define __CF_BASE_H__ |
6 | |
7 | typedef enum { |
8 | CF_TRUE = 0, |
9 | CF_FALSE = 1 |
10 | } E_CF_BOOL; |
11 | |
12 | #define CF_OK 0 |
13 | #define CF_ERROR -1 |
14 | #define CF_ERROR_BASE CF_ERROR * 1000 |
15 | |
16 | #ifdef _WIN32 |
17 | # define CF_EXPORT __declspec(dllexport) |
18 | #else // #ifdef _WIN32 |
19 | # define CF_EXPORT |
20 | #endif // #ifdef _WIN32 |
21 | |
22 | #endif // #ifndef __CF_BASE_H__ |
Note:
See TracBrowser
for help on using the repository browser.