diff --git a/pyo3-ffi/src/cpython/object.rs b/pyo3-ffi/src/cpython/object.rs index 8a7ce069cc8..60f85727994 100644 --- a/pyo3-ffi/src/cpython/object.rs +++ b/pyo3-ffi/src/cpython/object.rs @@ -409,7 +409,7 @@ extern_libpython! { pub fn PyUnstable_TryIncRef(obj: *mut PyObject) -> c_int; - pub fn PyUnstable_EnableTryIncRef(obj: *mut PyObject) -> c_void; + pub fn PyUnstable_EnableTryIncRef(obj: *mut PyObject); pub fn PyUnstable_Object_IsUniquelyReferenced(op: *mut PyObject) -> c_int; }