Skip to main content

pyforge_ffi/
intrcheck.rs

1use std::ffi::c_int;
2
3extern_libpython! {
4    pub fn PyOS_InterruptOccurred() -> c_int;
5    pub fn PyOS_BeforeFork();
6    pub fn PyOS_AfterFork_Parent();
7    pub fn PyOS_AfterFork_Child();
8    #[deprecated(note = "use PyOS_AfterFork_Child instead")]
9    pub fn PyOS_AfterFork();
10
11    // skipped non-limited _PyOS_IsMainThread
12    // skipped non-limited Windows _PyOS_SigintEvent
13}