Skip to content

Commit

Permalink
fix return type of PyUnstable_Module_SetGIL binding
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Oct 21, 2024
1 parent 87074c4 commit cf00bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-ffi/src/moduleobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub const Py_MOD_GIL_NOT_USED: *mut c_void = 1 as *mut c_void;

#[cfg(all(not(Py_LIMITED_API), Py_GIL_DISABLED))]
extern "C" {
pub fn PyUnstable_Module_SetGIL(module: *mut PyObject, gil: *mut c_void);
pub fn PyUnstable_Module_SetGIL(module: *mut PyObject, gil: *mut c_void) -> c_int;
}

#[repr(C)]
Expand Down

0 comments on commit cf00bba

Please sign in to comment.