From c91131f49f47b2af0349c1807d1c0f183d2b99b3 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Wed, 27 Feb 2013 20:37:07 +0900 Subject: remove msgpack_pack* macros --- msgpack/pack.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'msgpack/pack.h') diff --git a/msgpack/pack.h b/msgpack/pack.h index bb939d9..59764d9 100644 --- a/msgpack/pack.h +++ b/msgpack/pack.h @@ -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) -- cgit v1.2.1 From c49489cd372903fc5c26b330c91bdd3679029e17 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Wed, 27 Feb 2013 21:12:20 +0900 Subject: remove some macros. --- msgpack/pack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'msgpack/pack.h') diff --git a/msgpack/pack.h b/msgpack/pack.h index 59764d9..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); -- cgit v1.2.1