mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
86ad026f11
Added REVISION macro and getting API.
23 lines
308 B
C
23 lines
308 B
C
#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;
|
|
}
|
|
|