summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoki INADA <inada-n@eagle>2009-06-28 21:24:16 +0900
committerNaoki INADA <inada-n@eagle>2009-06-28 21:24:16 +0900
commit5a87c94333904aea236f646c99c73ce25ba3c74a (patch)
treed30535b2f58ae0d107d7c7f1901ea8f7feee9832
parent1374bce15f3e6643c49a728a773407994a8207b9 (diff)
downloadmsgpack-python-5a87c94333904aea236f646c99c73ce25ba3c74a.tar.gz
Don't use C++.
-rw-r--r--msgpack/unpack.h4
-rwxr-xr-xsetup.py1
2 files changed, 2 insertions, 3 deletions
diff --git a/msgpack/unpack.h b/msgpack/unpack.h
index dd23130..40058d0 100644
--- a/msgpack/unpack.h
+++ b/msgpack/unpack.h
@@ -19,8 +19,8 @@
#define MSGPACK_MAX_STACK_SIZE (1024)
#include "unpack_define.h"
-struct unpack_user {
-};
+typedef struct unpack_user {
+} unpack_user;
#define msgpack_unpack_struct(name) \
diff --git a/setup.py b/setup.py
index e0e0ac2..faadb33 100755
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,6 @@ version = '0.0.1dev'
PACKAGE_ROOT = os.getcwdu()
INCLUDE_PATH = os.path.join(PACKAGE_ROOT, 'include')
msgpack_mod = Extension('msgpack._msgpack',
- language="c++",
sources=['msgpack/_msgpack.pyx'],
include_dirs=[INCLUDE_PATH])