diff options
author | Antonio Cuni <anto.cuni@gmail.com> | 2013-10-18 17:33:54 +0200 |
---|---|---|
committer | Antonio Cuni <anto.cuni@gmail.com> | 2013-10-18 17:33:54 +0200 |
commit | 5467515065b95496b9f5b9d842ffc73c9ccb806e (patch) | |
tree | 27bfb8233e5b8aa63b76492337995578de9ab623 /msgpack/pack.h | |
parent | afa28fb2051cb00f03c83e020745e1eb238ff4ac (diff) | |
download | msgpack-python-5467515065b95496b9f5b9d842ffc73c9ccb806e.tar.gz |
implement Packer.pack_extended_type also in the cython version of the code
Diffstat (limited to 'msgpack/pack.h')
-rw-r--r-- | msgpack/pack.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/msgpack/pack.h b/msgpack/pack.h index 1539991..08fdd82 100644 --- a/msgpack/pack.h +++ b/msgpack/pack.h @@ -70,6 +70,8 @@ static inline int msgpack_pack_map(msgpack_packer* pk, unsigned int n); static inline int msgpack_pack_raw(msgpack_packer* pk, size_t l); static inline int msgpack_pack_raw_body(msgpack_packer* pk, const void* b, size_t l); +static inline int msgpack_pack_ext(msgpack_packer* pk, int8_t typecode, size_t l); + static inline int msgpack_pack_write(msgpack_packer* pk, const char *data, size_t l) { char* buf = pk->buf; |