diff options
Diffstat (limited to 'cython/plist.pxd')
| -rw-r--r-- | cython/plist.pxd | 6 |
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 @@ | |||
| 1 | from libc.stdint cimport * | ||
| 2 | |||
| 1 | cdef extern from "plist/plist.h": | 3 | cdef extern from "plist/plist.h": |
| 2 | ctypedef void *plist_t | 4 | ctypedef void *plist_t |
| 3 | ctypedef void *plist_dict_iter | 5 | ctypedef void *plist_dict_iter |
| @@ -14,10 +16,10 @@ cdef class Node: | |||
| 14 | cdef class Bool(Node): | 16 | cdef class Bool(Node): |
| 15 | cpdef set_value(self, object value) | 17 | cpdef set_value(self, object value) |
| 16 | cpdef bint get_value(self) | 18 | cpdef bint get_value(self) |
| 17 | 19 | ||
| 18 | cdef class Integer(Node): | 20 | cdef class Integer(Node): |
| 19 | cpdef set_value(self, object value) | 21 | cpdef set_value(self, object value) |
| 20 | cpdef int get_value(self) | 22 | cpdef uint64_t get_value(self) |
| 21 | 23 | ||
| 22 | cdef class Key(Node): | 24 | cdef class Key(Node): |
| 23 | cpdef set_value(self, object value) | 25 | cpdef set_value(self, object value) |
