summaryrefslogtreecommitdiff
path: root/msgpack/unpack_template.h
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2015-11-09 01:54:24 +0900
committerINADA Naoki <methane@users.noreply.github.com>2015-11-09 01:54:24 +0900
commite38e49ff934c88730c3efd8248feb50797cee58a (patch)
tree08068155966b4ef3cb3e68c4a9ed122c626a0ab5 /msgpack/unpack_template.h
parent3cef27b69b250f9abf126c85578a821c2d21e72e (diff)
parentde3c2b99f78d134c326bc375f19f54b7c851797a (diff)
downloadmsgpack-python-e38e49ff934c88730c3efd8248feb50797cee58a.tar.gz
Merge pull request #156 from methane/refactor
refactor C code
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);
}