diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index c281a50f0..6c594ab70 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -487,6 +487,9 @@ enum class return_value_policy : uint8_t { _clif_automatic }; +#define PYBIND11_HAS_RETURN_VALUE_POLICY_RETURN_AS_BYTES +#define PYBIND11_HAS_RETURN_VALUE_POLICY_CLIF_AUTOMATIC + PYBIND11_NAMESPACE_BEGIN(detail) inline static constexpr int log2(size_t n, int k = 0) {