mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
Add native_enum_type_map
in detail/internals.h
This commit is contained in:
parent
1104e06d9c
commit
069faee8fc
@ -219,6 +219,10 @@ struct internals {
|
|||||||
std::string function_record_capsule_name = internals_function_record_capsule_name;
|
std::string function_record_capsule_name = internals_function_record_capsule_name;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if PYBIND11_INTERNALS_VERSION >= 6
|
||||||
|
type_map<PyObject *> native_enum_type_map;
|
||||||
|
#endif
|
||||||
|
|
||||||
internals() = default;
|
internals() = default;
|
||||||
internals(const internals &other) = delete;
|
internals(const internals &other) = delete;
|
||||||
internals &operator=(const internals &other) = delete;
|
internals &operator=(const internals &other) = delete;
|
||||||
|
Loading…
Reference in New Issue
Block a user