Add native_enum_type_map in detail/internals.h

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-07-31 13:55:36 -07:00
parent 1104e06d9c
commit 069faee8fc

View File

@ -219,6 +219,10 @@ struct internals {
std::string function_record_capsule_name = internals_function_record_capsule_name;
#endif
#if PYBIND11_INTERNALS_VERSION >= 6
type_map<PyObject *> native_enum_type_map;
#endif
internals() = default;
internals(const internals &other) = delete;
internals &operator=(const internals &other) = delete;