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

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16

    #[cfg(not(Py_LIMITED_API))]
    use crate::ffi::object::FreeFunc;
    use crate::ffi::object::PyObject;
    use crate::ffi::pystate::Py_tracefunc;
    use std::os::raw::c_int;

    extern "C" {
        pub fn _PyEval_EvalFrameDefault(
            arg1: *mut crate::ffi::PyFrameObject,
            exc: c_int,
        ) -> *mut PyObject;
        #[cfg(not(Py_LIMITED_API))]
        pub fn _PyEval_RequestCodeExtraIndex(func: FreeFunc) -> c_int;
        pub fn PyEval_SetProfile(trace_func: Py_tracefunc, arg1: *mut PyObject);
        pub fn PyEval_SetTrace(trace_func: Py_tracefunc, arg1: *mut PyObject);
    }