mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +00:00
Add PYBIND11_HAS_RETURN_VALUE_POLICY_...
defines. (#4352)
This commit is contained in:
parent
d095a9bcff
commit
341bc8ac99
@ -487,6 +487,9 @@ enum class return_value_policy : uint8_t {
|
|||||||
_clif_automatic
|
_clif_automatic
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define PYBIND11_HAS_RETURN_VALUE_POLICY_RETURN_AS_BYTES
|
||||||
|
#define PYBIND11_HAS_RETURN_VALUE_POLICY_CLIF_AUTOMATIC
|
||||||
|
|
||||||
PYBIND11_NAMESPACE_BEGIN(detail)
|
PYBIND11_NAMESPACE_BEGIN(detail)
|
||||||
|
|
||||||
inline static constexpr int log2(size_t n, int k = 0) {
|
inline static constexpr int log2(size_t n, int k = 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user