| 1 | use craterust-analyzer cargo pyo3-ffi 0.28.2 crate/::objectrust-analyzer cargo pyo3-ffi 0.28.2 object/::*; |
| 2 | 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#; |
| 3 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/::addr_of_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/addr_of_mut!; |
| 4 | |
| 5 | #[cfg_attr(windows, link(name = "pythonXY"))] |
| 6 | extern "C" { |
| 7 | pub static mut PySeqIter_Typerust-analyzer cargo pyo3-ffi 0.28.2 PySeqIter_Type.: PyTypeObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyTypeObject#; |
| 8 | pub static mut PyCallIter_Typerust-analyzer cargo pyo3-ffi 0.28.2 PyCallIter_Type.: PyTypeObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyTypeObject#; |
| 9 | } |
| 10 | |
| 11 | #[inline] |
| 12 | pub unsafe fn PySeqIter_Checkrust-analyzer cargo pyo3-ffi 0.28.2 iterobject/PySeqIter_Check().(op: *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#) -> c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int# { |
| 13 | (Py_TYPErust-analyzer cargo pyo3-ffi 0.28.2 object/Py_TYPE().(op) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`][`PartialEq<Self>`]eq().addr_of_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/addr_of_mut!!(PySeqIter_Typerust-analyzer cargo pyo3-ffi 0.28.2 PySeqIter_Type.)) as c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int# |
| 14 | } |
| 15 | |
| 16 | extern "C" { |
| 17 | #[cfg_attr(PyPy, link_name = "PyPySeqIter_New")] |
| 18 | pub fn PySeqIter_Newrust-analyzer cargo pyo3-ffi 0.28.2 PySeqIter_New().(arg1: *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#) -> *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#; |
| 19 | } |
| 20 | |
| 21 | #[inline] |
| 22 | pub unsafe fn PyCallIter_Checkrust-analyzer cargo pyo3-ffi 0.28.2 iterobject/PyCallIter_Check().(op: *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#) -> c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int# { |
| 23 | (Py_TYPErust-analyzer cargo pyo3-ffi 0.28.2 object/Py_TYPE().(op) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`][`PartialEq<Self>`]eq().addr_of_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/addr_of_mut!!(PyCallIter_Typerust-analyzer cargo pyo3-ffi 0.28.2 PyCallIter_Type.)) as c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int# |
| 24 | } |
| 25 | |
| 26 | extern "C" { |
| 27 | #[cfg_attr(PyPy, link_name = "PyPyCallIter_New")] |
| 28 | pub fn PyCallIter_Newrust-analyzer cargo pyo3-ffi 0.28.2 PyCallIter_New().(arg1: *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#, arg2: *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#) -> *mut PyObjectrust-analyzer cargo pyo3-ffi 0.28.2 object/PyObject#; |
| 29 | } |