summaryrefslogtreecommitdiff
path: root/c/pack.h
diff options
context:
space:
mode:
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) \