We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eb6d6f commit d353b45Copy full SHA for d353b45
include/pybind11/detail/internals.h
@@ -10,6 +10,7 @@
10
#pragma once
11
12
#include "../pytypes.h"
13
+#include "smart_holder_sfinae_hooks_only.h"
14
15
PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
16
PYBIND11_NAMESPACE_BEGIN(detail)
@@ -150,7 +151,11 @@ struct type_info {
150
151
};
152
153
/// Tracks the `internals` and `type_info` ABI version independent of the main library version
154
+#ifndef PYBIND11_USE_SMART_HOLDER_AS_DEFAULT
155
#define PYBIND11_INTERNALS_VERSION 4
156
+#else
157
+#define PYBIND11_INTERNALS_VERSION 1004
158
+#endif
159
160
/// On MSVC, debug and release builds are not ABI-compatible!
161
#if defined(_MSC_VER) && defined(_DEBUG)
0 commit comments