summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-03-19 14:19:51 +0100
committerGravatar Nikias Bassen2013-03-19 14:19:51 +0100
commit94fa6e220b587e646d072713daeabbf6760e54f9 (patch)
tree627d41d9913b11e6d162fcea6b1a64dae2ba1f57 /cython
parent927c81a7d6cc0a42d6a3b6487f661626af193f34 (diff)
downloadlibplist-94fa6e220b587e646d072713daeabbf6760e54f9.tar.gz
libplist-94fa6e220b587e646d072713daeabbf6760e54f9.tar.bz2
cython: get rid of ctypedefs and use libc.stdint instead
Diffstat (limited to 'cython')
-rw-r--r--cython/plist.pyx12
1 files changed, 1 insertions, 11 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index 746db4f..d1ef91f 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -1,16 +1,6 @@
-cdef extern from *:
- ctypedef unsigned char uint8_t
- ctypedef short int int16_t
- ctypedef unsigned short int uint16_t
- ctypedef unsigned int uint32_t
- ctypedef int int32_t
-IF UNAME_MACHINE == 'x86_64':
- ctypedef unsigned long int uint64_t
-ELSE:
- ctypedef unsigned long long int uint64_t
-
cimport cpython
cimport libc.stdlib
+from libc.stdint cimport *
cdef extern from *:
ctypedef enum plist_type: