This commit is contained in:
Robert Haschke 2025-02-19 20:43:38 +01:00 committed by GitHub
commit 64490f3545
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,11 @@
#include "pybind11.h" #include "pybind11.h"
#if !defined(PYBIND11_SMART_HOLDER_DISABLE)
static_assert(PYBIND11_INTERNALS_VERSION >= 106,
"pybind11 ABI version 106 is required for smart_holder functionality.");
#endif
// Legacy macros introduced with smart_holder_type_casters implementation in 2021. // Legacy macros introduced with smart_holder_type_casters implementation in 2021.
// Deprecated. // Deprecated.
#define PYBIND11_TYPE_CASTER_BASE_HOLDER(...) #define PYBIND11_TYPE_CASTER_BASE_HOLDER(...)