#include <internals.h>
Public Member Functions | |
internals ()=default | |
internals (const internals &other)=delete | |
internals & | operator= (const internals &other)=delete |
~internals () | |
Public Attributes | |
PyTypeObject * | default_metaclass |
type_map< std::vector< bool(*)(PyObject *, void *&)> > | direct_conversions |
std::unordered_set< std::pair< const PyObject *, const char * >, override_hash > | inactive_override_cache |
PyObject * | instance_base |
PyInterpreterState * | istate = nullptr |
std::unordered_map< const PyObject *, std::vector< PyObject * > > | patients |
std::forward_list< ExceptionTranslator > | registered_exception_translators |
instance_map | registered_instances |
type_map< type_info * > | registered_types_cpp |
std::unordered_map< PyTypeObject *, std::vector< type_info * > > | registered_types_py |
std::unordered_map< std::string, void * > | shared_data |
PyTypeObject * | static_property_type |
std::forward_list< std::string > | static_strings |
std::vector< PyObject * > | unused_loader_patient_stack_remove_at_v5 |
Internal data structure used to track registered instances and types. Whenever binary incompatible changes are made to this structure, PYBIND11_INTERNALS_VERSION
must be incremented.
Definition at line 162 of file internals.h.
|
default |
|
delete |
|
inline |
Definition at line 208 of file internals.h.
PyTypeObject* internals::default_metaclass |
Definition at line 189 of file internals.h.
type_map<std::vector<bool (*)(PyObject *, void *&)> > internals::direct_conversions |
Definition at line 178 of file internals.h.
std::unordered_set<std::pair<const PyObject *, const char *>, override_hash> internals::inactive_override_cache |
Definition at line 177 of file internals.h.
PyObject* internals::instance_base |
Definition at line 190 of file internals.h.
PyInterpreterState* internals::istate = nullptr |
Definition at line 197 of file internals.h.
std::unordered_map<const PyObject *, std::vector<PyObject *> > internals::patients |
Definition at line 179 of file internals.h.
std::forward_list<ExceptionTranslator> internals::registered_exception_translators |
Definition at line 180 of file internals.h.
instance_map internals::registered_instances |
Definition at line 174 of file internals.h.
Definition at line 167 of file internals.h.
std::unordered_map<PyTypeObject *, std::vector<type_info *> > internals::registered_types_py |
Definition at line 169 of file internals.h.
std::unordered_map<std::string, void *> internals::shared_data |
Definition at line 181 of file internals.h.
PyTypeObject* internals::static_property_type |
Definition at line 188 of file internals.h.
std::forward_list<std::string> internals::static_strings |
Definition at line 186 of file internals.h.
std::vector<PyObject *> internals::unused_loader_patient_stack_remove_at_v5 |
Definition at line 184 of file internals.h.