pyo3-ffi 0.28.3

Python-API bindings for the PyO3 ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// NB: unlike C, we do not need to forward declare structs in Rust.
// So we only define opaque structs for those which do not have public structure.

// PyModuleDef
// PyModuleDef_Slot
// PyMethodDef
// PyGetSetDef
// PyMemberDef

// PyObject
// PyLongObject
// PyTypeObject
opaque_struct!(pub PyCodeObject);
opaque_struct!(pub PyFrameObject);

opaque_struct!(pub PyThreadState);
opaque_struct!(pub PyInterpreterState);