summaryrefslogtreecommitdiff
path: root/c/pack.h
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@vcore.(none)>2009-02-24 16:37:47 +0900
committerfrsyuki <frsyuki@vcore.(none)>2009-02-24 16:37:47 +0900
commitbdd13859b60d06ec6fabdbaccea81cbee189b8bc (patch)
treec76ff69b75cd98c669ead4c25ca1d3fd33b0666a /c/pack.h
parentaaaaecb8bad862afc66ad5a2772adb78b9082df8 (diff)
downloadmsgpack-python-bdd13859b60d06ec6fabdbaccea81cbee189b8bc.tar.gz
c: msgpack_pack_object
Diffstat (limited to 'c/pack.h')
-rw-r--r--c/pack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/pack.h b/c/pack.h
index 46de722..1a57ea4 100644
--- a/c/pack.h
+++ b/c/pack.h
@@ -22,6 +22,7 @@
#include <stdint.h>
#include <stdlib.h>
#include "msgpack/pack_define.h"
+#include "msgpack/object.h"
#ifdef __cplusplus
extern "C" {
@@ -72,6 +73,8 @@ static int msgpack_pack_map(msgpack_packer* pk, unsigned int n);
static int msgpack_pack_raw(msgpack_packer* pk, size_t l);
static int msgpack_pack_raw_body(msgpack_packer* pk, const void* b, size_t l);
+int msgpack_pack_object(msgpack_packer* pk, msgpack_object d);
+
#define msgpack_pack_inline_func(name) \