Apply fixes by Philip Molloy

This commit is contained in:
konstin 2018-06-14 16:03:05 +02:00
parent 76510bdd0e
commit 7a52bf647c
1 changed files with 3 additions and 3 deletions

View File

@ -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())
}