Methods for retrieving the json-c version.
More...
Detailed Description
Methods for retrieving the json-c version.
Define Documentation
| #define JSON_C_MAJOR_VERSION 0 |
| #define JSON_C_MICRO_VERSION 0 |
| #define JSON_C_MINOR_VERSION 16 |
| #define JSON_C_VERSION "0.16" |
| #define JSON_C_VERSION_NUM ((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION) |
| #define JSON_EXPORT extern |
Function Documentation
| JSON_EXPORT const char* json_c_version |
( |
void |
|
) |
|
- See also:
- JSON_C_VERSION
- Returns:
- the version of the json-c library as a string
| JSON_EXPORT int json_c_version_num |
( |
void |
|
) |
|
The json-c version encoded into an int, with the low order 8 bits being the micro version, the next higher 8 bits being the minor version and the next higher 8 bits being the major version. For example, 7.12.99 would be 0x00070B63.
- See also:
- JSON_C_VERSION_NUM
- Returns:
- the version of the json-c library as an int