mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-25 16:33:40 +08:00
Use fully qualified name in PYBIND11_DESCR macro
This commit is contained in:
parent
ad5ca6d4e6
commit
3768b6abf9
@ -181,7 +181,7 @@ PYBIND11_NOINLINE inline descr concat(descr &&d) { return d; }
|
||||
template <typename... Args> PYBIND11_NOINLINE descr concat(descr &&d, Args&&... args) { return std::move(d) + _(", ") + concat(std::forward<Args>(args)...); }
|
||||
PYBIND11_NOINLINE inline descr type_descr(descr&& d) { return _("{") + std::move(d) + _("}"); }
|
||||
|
||||
#define PYBIND11_DESCR descr
|
||||
#define PYBIND11_DESCR ::pybind11::detail::descr
|
||||
#endif
|
||||
|
||||
NAMESPACE_END(detail)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user