MessagePack C implementation for mbed, modified from https://github.com/msgpack/msgpack-c
version.c@0:1382f081365b, 2014-10-25 (annotated)
- Committer:
- yihui
- Date:
- Sat Oct 25 16:32:57 2014 +0000
- Revision:
- 0:1382f081365b
initial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yihui | 0:1382f081365b | 1 | #include "msgpack.h" |
yihui | 0:1382f081365b | 2 | |
yihui | 0:1382f081365b | 3 | const char* msgpack_version(void) |
yihui | 0:1382f081365b | 4 | { |
yihui | 0:1382f081365b | 5 | return MSGPACK_VERSION; |
yihui | 0:1382f081365b | 6 | } |
yihui | 0:1382f081365b | 7 | |
yihui | 0:1382f081365b | 8 | int msgpack_version_major(void) |
yihui | 0:1382f081365b | 9 | { |
yihui | 0:1382f081365b | 10 | return MSGPACK_VERSION_MAJOR; |
yihui | 0:1382f081365b | 11 | } |
yihui | 0:1382f081365b | 12 | |
yihui | 0:1382f081365b | 13 | int msgpack_version_minor(void) |
yihui | 0:1382f081365b | 14 | { |
yihui | 0:1382f081365b | 15 | return MSGPACK_VERSION_MINOR; |
yihui | 0:1382f081365b | 16 | } |
yihui | 0:1382f081365b | 17 |