summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
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: