summaryrefslogtreecommitdiff
path: root/msgpack/unpack.h
diff options
context:
space:
mode:
authorJoel Nothman <joel.nothman@gmail.com>2012-09-25 00:30:15 +1000
committerJoel Nothman <joel.nothman@gmail.com>2012-09-25 00:30:15 +1000
commitd56e2b2c8aa1005fbac3b584cd003ba0cdece2e2 (patch)
tree46610af74cb781f5a3918420b5bd4fab131bdd4a /msgpack/unpack.h
parent96ed236c1d53e9ac4f3632ed82f15a1d6e0604da (diff)
downloadmsgpack-python-d56e2b2c8aa1005fbac3b584cd003ba0cdece2e2.tar.gz
Use C++ function templating for skip()/construct()
Diffstat (limited to 'msgpack/unpack.h')
-rw-r--r--msgpack/unpack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/msgpack/unpack.h b/msgpack/unpack.h
index a106f9c..3c9d4be 100644
--- a/msgpack/unpack.h
+++ b/msgpack/unpack.h
@@ -41,6 +41,7 @@ typedef struct unpack_user {
#define msgpack_unpack_user unpack_user
+typedef int (*execute_fn)(msgpack_unpack_struct(_context)* ctx, const char* data, size_t len, size_t* off);
struct template_context;
typedef struct template_context template_context;