summaryrefslogtreecommitdiffstats
path: root/cython/plist.pxd
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-26 17:34:53 +0200
committerGravatar Nikias Bassen2011-09-26 17:34:53 +0200
commitda9f709fadbcb63bc8f6b2dd4d917d920af3fe42 (patch)
tree33a75771ea3f447aac4a1a6d300f1a1055c83557 /cython/plist.pxd
parentb1ad30f5bf9c5067d1bdb5d7a5f9e62e9db5a137 (diff)
downloadlibplist-da9f709fadbcb63bc8f6b2dd4d917d920af3fe42.tar.gz
libplist-da9f709fadbcb63bc8f6b2dd4d917d920af3fe42.tar.bz2
cython: use bint instead of bool, fix deprecated stuff
Diffstat (limited to 'cython/plist.pxd')
-rw-r--r--cython/plist.pxd4
1 files changed, 2 insertions, 2 deletions
diff --git a/cython/plist.pxd b/cython/plist.pxd
index 81a272e..a31419d 100644
--- a/cython/plist.pxd
+++ b/cython/plist.pxd
@@ -13,7 +13,7 @@ cdef class Node:
cdef class Bool(Node):
cpdef set_value(self, object value)
- cpdef bool get_value(self)
+ cpdef bint get_value(self)
cdef class Integer(Node):
cpdef set_value(self, object value)
@@ -40,7 +40,7 @@ cdef class Dict(Node):
cdef void _init(self)
cpdef set_value(self, dict value)
cpdef dict get_value(self)
- cpdef bool has_key(self, key)
+ cpdef bint has_key(self, key)
cpdef object get(self, key, default=*)
cpdef list keys(self)
cpdef list items(self)