src/cdogs/yajl/api/yajl_version.h.cmake
raw| 1 | #ifndef YAJL_VERSION_H_ |
| 2 | #define YAJL_VERSION_H_ |
| 3 | |
| 4 | #include <yajl/yajl_common.h> |
| 5 | |
| 6 | #define YAJL_MAJOR ${YAJL_MAJOR} |
| 7 | #define YAJL_MINOR ${YAJL_MINOR} |
| 8 | #define YAJL_MICRO ${YAJL_MICRO} |
| 9 | |
| 10 | #define YAJL_VERSION ((YAJL_MAJOR * 10000) + (YAJL_MINOR * 100) + YAJL_MICRO) |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif |
| 15 | |
| 16 | extern int YAJL_API yajl_version(void); |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | } |
| 20 | #endif |
| 21 | |
| 22 | #endif /* YAJL_VERSION_H_ */ |
| 23 |