Apply fixes by Philip Molloy
This commit is contained in:
parent
76510bdd0e
commit
7a52bf647c
|
@ -295,15 +295,15 @@ pub unsafe fn PyMapping_DelItem(o : *mut PyObject, key : *mut PyObject) -> c_int
|
|||
|
||||
#[inline]
|
||||
pub unsafe fn PyMapping_Keys(o : *mut PyObject) -> *mut PyObject {
|
||||
PyObject_CallMethod(o, "keys\0".as_ptr() as *mut i8, ptr::null_mut())
|
||||
PyObject_CallMethod(o, "keys\0".as_ptr() as *mut u8, ptr::null_mut())
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub unsafe fn PyMapping_Values(o : *mut PyObject) -> *mut PyObject {
|
||||
PyObject_CallMethod(o, "values\0".as_ptr() as *mut i8, ptr::null_mut())
|
||||
PyObject_CallMethod(o, "values\0".as_ptr() as *mut u8, ptr::null_mut())
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub unsafe fn PyMapping_Items(o : *mut PyObject) -> *mut PyObject {
|
||||
PyObject_CallMethod(o, "items\0".as_ptr() as *mut i8, ptr::null_mut())
|
||||
PyObject_CallMethod(o, "items\0".as_ptr() as *mut u8, ptr::null_mut())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue