1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Copyright (c) 2022-present PyO3 Project and Contributors
use crate::ffi;
use crate::PyAny;
/// Represents a Python frame.
#[repr(transparent)]
pub struct PyFrame(PyAny);
pyobject_native_type_core!(
PyFrame,
ffi::PyFrame_Type,
#checkfunction=ffi::PyFrame_Check
);