# pyframe.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.13.2/src/ffi/pyframe.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12

    #[cfg(not(Py_LIMITED_API))]
    use crate::ffi::PyFrameObject;
    use std::os::raw::c_int;

    #[cfg(Py_LIMITED_API)]
    opaque_struct!(PyFrameObject);

    extern "C" {
        pub fn PyFrame_GetLineNumber(f: *mut PyFrameObject) -> c_int;
    }
    // skipped PyFrame_GetLineNumber
    // skipped PyFrame_GetCode