diff options
Diffstat (limited to '')
-rw-r--r-- | src/yajl/yajl_version.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/yajl/yajl_version.h b/src/yajl/yajl_version.h new file mode 100644 index 0000000..0fba9b8 --- /dev/null +++ b/src/yajl/yajl_version.h @@ -0,0 +1,23 @@ +#ifndef YAJL_VERSION_H_ +#define YAJL_VERSION_H_ + +#include <yajl/yajl_common.h> + +#define YAJL_MAJOR 2 +#define YAJL_MINOR 0 +#define YAJL_MICRO 1 + +#define YAJL_VERSION ((YAJL_MAJOR * 10000) + (YAJL_MINOR * 100) + YAJL_MICRO) + +#ifdef __cplusplus +extern "C" { +#endif + +extern int YAJL_API yajl_version(void); + +#ifdef __cplusplus +} +#endif + +#endif /* YAJL_VERSION_H_ */ + |