diff options
| author | INADA Naoki <inada-n@klab.com> | 2013-10-20 20:28:32 +0900 |
|---|---|---|
| committer | INADA Naoki <inada-n@klab.com> | 2013-10-20 20:28:32 +0900 |
| commit | 96bcd76f49afd00f5b7def1ff7cfd002a7fa477d (patch) | |
| tree | ba89ca218c7c3f0463d451254ed23eed48b4fe6a /msgpack/pack_template.h | |
| parent | aa68c9b8330b130d600b22ec47d5c3841499b536 (diff) | |
| download | msgpack-python-96bcd76f49afd00f5b7def1ff7cfd002a7fa477d.tar.gz | |
Packing ExtType and some cleanup
Diffstat (limited to 'msgpack/pack_template.h')
| -rw-r--r-- | msgpack/pack_template.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/msgpack/pack_template.h b/msgpack/pack_template.h index 0fe9514..8b91619 100644 --- a/msgpack/pack_template.h +++ b/msgpack/pack_template.h @@ -687,7 +687,7 @@ static inline int msgpack_pack_raw(msgpack_packer* x, size_t l) static inline int msgpack_pack_bin(msgpack_packer *x, size_t l) { if (!x->use_bin_type) { - return msgpack_pack_raw(x, l) + return msgpack_pack_raw(x, l); } if (l < 256) { unsigned char buf[2] = {0xc4, (unsigned char)l}; @@ -711,7 +711,6 @@ static inline int msgpack_pack_raw_body(msgpack_packer* x, const void* b, size_t /* * Ext */ - static inline int msgpack_pack_ext(msgpack_packer* x, int8_t typecode, size_t l) { if (l == 1) { |
