summaryrefslogtreecommitdiff
path: root/msgpack/unpack_template.h
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2015-11-09 01:50:40 +0900
committerINADA Naoki <songofacandy@gmail.com>2015-11-09 01:52:37 +0900
commitde3c2b99f78d134c326bc375f19f54b7c851797a (patch)
tree08068155966b4ef3cb3e68c4a9ed122c626a0ab5 /msgpack/unpack_template.h
parent3cef27b69b250f9abf126c85578a821c2d21e72e (diff)
downloadmsgpack-python-de3c2b99f78d134c326bc375f19f54b7c851797a.tar.gz
refactor C code
fixes #137
Diffstat (limited to 'msgpack/unpack_template.h')
-rw-r--r--msgpack/unpack_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/unpack_template.h b/msgpack/unpack_template.h
index 6b83d3e..e1e08fe 100644
--- a/msgpack/unpack_template.h
+++ b/msgpack/unpack_template.h
@@ -70,7 +70,7 @@ static inline PyObject* unpack_data(unpack_context* ctx)
return (ctx)->stack[0].obj;
}
-static inline PyObject* unpack_clear(unpack_context *ctx)
+static inline void unpack_clear(unpack_context *ctx)
{
Py_CLEAR(ctx->stack[0].obj);
}