]>
Commit | Line | Data |
---|---|---|
cec6fc98 KS |
1 | |
2 | #if HAVE_CONFIG_H | |
3 | #include <config.h> | |
4 | #endif | |
5 | ||
6 | #include <yaml/yaml.h> | |
7 | ||
8 | const char * | |
9 | yaml_get_version_string(void) | |
10 | { | |
11 | return YAML_VERSION_STRING; | |
12 | } | |
13 | ||
14 | void | |
15 | yaml_get_version(int *major, int *minor, int *patch) | |
16 | { | |
17 | *major = YAML_VERSION_MAJOR; | |
18 | *minor = YAML_VERSION_MINOR; | |
19 | *patch = YAML_VERSION_PATCH; | |
20 | } | |
21 |