summaryrefslogtreecommitdiffstats
path: root/cython/plist.pxd
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-03-19 17:13:20 +0100
committerGravatar Nikias Bassen2013-03-19 17:13:20 +0100
commitef7347435a77a97444e61a52ce9305c3924d2df6 (patch)
tree077487f17abfcc127b4c097c3d9017df633930ca /cython/plist.pxd
parent1f14105b2841dc73b1d459ba0b83e18785766ef8 (diff)
downloadlibplist-ef7347435a77a97444e61a52ce9305c3924d2df6.tar.gz
libplist-ef7347435a77a97444e61a52ce9305c3924d2df6.tar.bz2
cython: use uint64_t instead of int for Integer get_value and __repr__
Diffstat (limited to 'cython/plist.pxd')
-rw-r--r--cython/plist.pxd6
1 files changed, 4 insertions, 2 deletions
diff --git a/cython/plist.pxd b/cython/plist.pxd
index d7c70bd..c504599 100644
--- a/cython/plist.pxd
+++ b/cython/plist.pxd
@@ -1,3 +1,5 @@
+from libc.stdint cimport *
+
cdef extern from "plist/plist.h":
ctypedef void *plist_t
ctypedef void *plist_dict_iter
@@ -14,10 +16,10 @@ cdef class Node:
cdef class Bool(Node):
cpdef set_value(self, object value)
cpdef bint get_value(self)
-
+
cdef class Integer(Node):
cpdef set_value(self, object value)
- cpdef int get_value(self)
+ cpdef uint64_t get_value(self)
cdef class Key(Node):
cpdef set_value(self, object value)