diff options
| author | 2010-05-13 09:41:12 -0500 | |
|---|---|---|
| committer | 2012-03-20 23:25:55 +0100 | |
| commit | 7d4a26663a812c383738fc6390759266851cf953 (patch) | |
| tree | c765b16c60909f49d935f0705049e6ab155cb9e7 /cython/stdint.pxi | |
| parent | 3877711296cbfa4a0bcafc3c5560609a1ce2d079 (diff) | |
| download | libimobiledevice-7d4a26663a812c383738fc6390759266851cf953.tar.gz libimobiledevice-7d4a26663a812c383738fc6390759266851cf953.tar.bz2 | |
Python bindings for new sync interface.
Diffstat (limited to 'cython/stdint.pxi')
| -rw-r--r-- | cython/stdint.pxi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cython/stdint.pxi b/cython/stdint.pxi index 2617dec..f9e5e95 100644 --- a/cython/stdint.pxi +++ b/cython/stdint.pxi | |||
| @@ -4,9 +4,15 @@ cdef extern from *: | |||
| 4 | ctypedef unsigned short int uint16_t | 4 | ctypedef unsigned short int uint16_t |
| 5 | ctypedef unsigned int uint32_t | 5 | ctypedef unsigned int uint32_t |
| 6 | ctypedef int int32_t | 6 | ctypedef int int32_t |
| 7 | ctypedef long int time_t | ||
| 7 | IF UNAME_MACHINE == 'x86_64': | 8 | IF UNAME_MACHINE == 'x86_64': |
| 8 | ctypedef long int int64_t | 9 | ctypedef long int int64_t |
| 9 | ctypedef unsigned long int uint64_t | 10 | ctypedef unsigned long int uint64_t |
| 10 | ELSE: | 11 | ELSE: |
| 11 | ctypedef long long int int64_t | 12 | ctypedef long long int int64_t |
| 12 | ctypedef unsigned long long int uint64_t | 13 | ctypedef unsigned long long int uint64_t |
| 14 | |||
| 15 | cdef extern from "time.h": | ||
| 16 | cdef struct timeval: | ||
| 17 | time_t tv_sec | ||
| 18 | time_t tv_usec | ||
