From 94fa6e220b587e646d072713daeabbf6760e54f9 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 19 Mar 2013 14:19:51 +0100 Subject: cython: get rid of ctypedefs and use libc.stdint instead --- cython/plist.pyx | 12 +----------- 1 file changed, 1 insertion(+), 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: -- cgit v1.1-32-gdbae