summaryrefslogtreecommitdiff
path: root/msgpack/pack.h
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2013-02-27 04:18:56 -0800
committerINADA Naoki <songofacandy@gmail.com>2013-02-27 04:18:56 -0800
commite8f6d2a03032dde7b26cc894604d08b64fb7f992 (patch)
tree43d86461fdf3977f0d1ff2b5f748604a18268a7b /msgpack/pack.h
parent944b41e82609a0b6a711870f8045d79d401e7bbf (diff)
parentc49489cd372903fc5c26b330c91bdd3679029e17 (diff)
downloadmsgpack-python-e8f6d2a03032dde7b26cc894604d08b64fb7f992.tar.gz
Merge pull request #54 from msgpack/remove-macros
Remove macros for readability.
Diffstat (limited to 'msgpack/pack.h')
-rw-r--r--msgpack/pack.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/msgpack/pack.h b/msgpack/pack.h
index bb939d9..1539991 100644
--- a/msgpack/pack.h
+++ b/msgpack/pack.h
@@ -45,7 +45,7 @@ static inline int msgpack_pack_long_long(msgpack_packer* pk, long long d);
static inline int msgpack_pack_unsigned_short(msgpack_packer* pk, unsigned short d);
static inline int msgpack_pack_unsigned_int(msgpack_packer* pk, unsigned int d);
static inline int msgpack_pack_unsigned_long(msgpack_packer* pk, unsigned long d);
-static inline int msgpack_pack_unsigned_long_long(msgpack_packer* pk, unsigned long long d);
+//static inline int msgpack_pack_unsigned_long_long(msgpack_packer* pk, unsigned long long d);
static inline int msgpack_pack_uint8(msgpack_packer* pk, uint8_t d);
static inline int msgpack_pack_uint16(msgpack_packer* pk, uint16_t d);
@@ -90,14 +90,6 @@ static inline int msgpack_pack_write(msgpack_packer* pk, const char *data, size_
return 0;
}
-#define msgpack_pack_inline_func(name) \
- static inline int msgpack_pack ## name
-
-#define msgpack_pack_inline_func_cint(name) \
- static inline int msgpack_pack ## name
-
-#define msgpack_pack_user msgpack_packer*
-
#define msgpack_pack_append_buffer(user, buf, len) \
return msgpack_pack_write(user, (const char*)buf, len)