Type Alias simics_api_sys::PyObject
source · pub type PyObject = _object;
Expand description
Nothing is actually declared to be a PyObject, but every pointer to a Python object can be cast to a PyObject*. This is inheritance built by hand. Similarly every pointer to a variable-size Python object can, in addition, be cast to PyVarObject*.
Aliased Type§
struct PyObject {
pub ob_refcnt: isize,
pub ob_type: *mut _typeobject,
}
Fields§
§ob_refcnt: isize
§ob_type: *mut _typeobject