| 1 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::ffirust-analyzer cargo std https://github.com/rust-lang/rust/library/std ffi/::c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int#; |
| 2 | |
| 3 | extern "C" { |
| 4 | #[cfg_attr(PyPy, link_name = "PyPyOS_InterruptOccurred")] |
| 5 | pub fn PyOS_InterruptOccurredrust-analyzer cargo pyo3-ffi 0.28.2 PyOS_InterruptOccurred().() -> c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int#; |
| 6 | #[cfg(not(Py_3_10))] |
| 7 | #[deprecated(note = "Not documented in Python API; see Python 3.10 release notes")] |
| 8 | pub fn PyOS_InitInterruptsrust-analyzer cargo pyo3-ffi 0.28.2 PyOS_InitInterrupts().(); |
| 9 | |
| 10 | pub fn PyOS_BeforeForkrust-analyzer cargo pyo3-ffi 0.28.2 PyOS_BeforeFork().(); |
| 11 | pub fn PyOS_AfterFork_Parentrust-analyzer cargo pyo3-ffi 0.28.2 PyOS_AfterFork_Parent().(); |
| 12 | pub fn PyOS_AfterFork_Childrust-analyzer cargo pyo3-ffi 0.28.2 PyOS_AfterFork_Child().(); |
| 13 | #[deprecated(note = "use PyOS_AfterFork_Child instead")] |
| 14 | #[cfg_attr(PyPy, link_name = "PyPyOS_AfterFork")] |
| 15 | pub fn PyOS_AfterForkrust-analyzer cargo pyo3-ffi 0.28.2 PyOS_AfterFork().(); |
| 16 | |
| 17 | // skipped non-limited _PyOS_IsMainThread |
| 18 | // skipped non-limited Windows _PyOS_SigintEvent |
| 19 | } |