diff options
Diffstat (limited to 'fluent-bit/lib/msgpack-c/src/version.c')
-rw-r--r-- | fluent-bit/lib/msgpack-c/src/version.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fluent-bit/lib/msgpack-c/src/version.c b/fluent-bit/lib/msgpack-c/src/version.c new file mode 100644 index 00000000..83f75108 --- /dev/null +++ b/fluent-bit/lib/msgpack-c/src/version.c @@ -0,0 +1,22 @@ +#include "msgpack.h" + +const char* msgpack_version(void) +{ + return MSGPACK_VERSION; +} + +int msgpack_version_major(void) +{ + return MSGPACK_VERSION_MAJOR; +} + +int msgpack_version_minor(void) +{ + return MSGPACK_VERSION_MINOR; +} + +int msgpack_version_revision(void) +{ + return MSGPACK_VERSION_REVISION; +} + |