ffi: cpython: object: use correct printfunc def

This commit is contained in:
Nicholas Sim 2021-02-14 21:17:46 +08:00
parent 031840652c
commit 3f222b7dd8
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ mod typeobject {
pub tp_itemsize: Py_ssize_t,
pub tp_dealloc: Option<object::destructor>,
#[cfg(not(Py_3_8))]
pub tp_print: Option<object::printfunc>,
pub tp_print: Option<printfunc>,
#[cfg(Py_3_8)]
pub tp_vectorcall_offset: Py_ssize_t,
pub tp_getattr: Option<object::getattrfunc>,