diff options
| author | 2011-09-26 17:34:53 +0200 | |
|---|---|---|
| committer | 2011-09-26 17:34:53 +0200 | |
| commit | da9f709fadbcb63bc8f6b2dd4d917d920af3fe42 (patch) | |
| tree | 33a75771ea3f447aac4a1a6d300f1a1055c83557 /cython/plist.pxd | |
| parent | b1ad30f5bf9c5067d1bdb5d7a5f9e62e9db5a137 (diff) | |
| download | libplist-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.pxd | 4 |
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: | |||
| 13 | 13 | ||
| 14 | cdef class Bool(Node): | 14 | cdef class Bool(Node): |
| 15 | cpdef set_value(self, object value) | 15 | cpdef set_value(self, object value) |
| 16 | cpdef bool get_value(self) | 16 | cpdef bint get_value(self) |
| 17 | 17 | ||
| 18 | cdef class Integer(Node): | 18 | cdef class Integer(Node): |
| 19 | cpdef set_value(self, object value) | 19 | cpdef set_value(self, object value) |
| @@ -40,7 +40,7 @@ cdef class Dict(Node): | |||
| 40 | cdef void _init(self) | 40 | cdef void _init(self) |
| 41 | cpdef set_value(self, dict value) | 41 | cpdef set_value(self, dict value) |
| 42 | cpdef dict get_value(self) | 42 | cpdef dict get_value(self) |
| 43 | cpdef bool has_key(self, key) | 43 | cpdef bint has_key(self, key) |
| 44 | cpdef object get(self, key, default=*) | 44 | cpdef object get(self, key, default=*) |
| 45 | cpdef list keys(self) | 45 | cpdef list keys(self) |
| 46 | cpdef list items(self) | 46 | cpdef list items(self) |
