From 069faee8fc2d914d15160892aacce47d3723a871 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 31 Jul 2024 13:55:36 -0700 Subject: [PATCH] Add `native_enum_type_map` in detail/internals.h --- include/pybind11/detail/internals.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index d8b5c6b30..78b2c2c7d 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h @@ -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 native_enum_type_map; +#endif + internals() = default; internals(const internals &other) = delete; internals &operator=(const internals &other) = delete;