1 | use crate::ffi; |
---|---|
2 | use crate::PyAny; |
3 | |
4 | /// Represents a Python frame. |
5 | #[repr(transparent)] |
6 | pub struct PyFrame(PyAny); |
7 | |
8 | pyobject_native_type_core!( |
9 | PyFrame, |
10 | pyobject_native_static_type_object!(ffi::PyFrame_Type), |
11 | #checkfunction=ffi::PyFrame_Check |
12 | ); |
13 |