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.
PYBIND11_INTERNALS_SH_DEF
1 parent b8cf161 commit 35cb542Copy full SHA for 35cb542
include/pybind11/detail/internals.h
@@ -316,9 +316,9 @@ struct type_info {
316
/// Classic / Conservative / Progressive cross-module compatibility
317
#ifndef PYBIND11_INTERNALS_SH_DEF
318
# if defined(PYBIND11_USE_SMART_HOLDER_AS_DEFAULT)
319
-# define PYBIND11_INTERNALS_SH_DEF ""
320
-# else
321
# define PYBIND11_INTERNALS_SH_DEF "_sh_def"
+# else
+# define PYBIND11_INTERNALS_SH_DEF ""
322
# endif
323
#endif
324
0 commit comments