diff options
author | Naoki INADA <inada-n@eagle> | 2009-06-28 21:24:16 +0900 |
---|---|---|
committer | Naoki INADA <inada-n@eagle> | 2009-06-28 21:24:16 +0900 |
commit | 3e396ef146940ada28fc8b154189ae9bb206babc (patch) | |
tree | 1b3db68384404bf816e00fb86fdc566eede8f054 | |
parent | 1b07b61c048f749c7a5e505617b0e59974f81077 (diff) | |
download | msgpack-python-3e396ef146940ada28fc8b154189ae9bb206babc.tar.gz |
Don't use C++.
-rw-r--r-- | python/msgpack/unpack.h | 4 | ||||
-rwxr-xr-x | python/setup.py | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/python/msgpack/unpack.h b/python/msgpack/unpack.h index dd23130..40058d0 100644 --- a/python/msgpack/unpack.h +++ b/python/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/python/setup.py b/python/setup.py index e0e0ac2..faadb33 100755 --- a/python/setup.py +++ b/python/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]) |