Home
last modified time | relevance | path

Searched refs:CheckFun (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/include/pybind11/
Dpytypes.h793 #define PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ in PYBIND11_NAMESPACE_END() argument
800 bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \
801 static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } \
805 #define PYBIND11_OBJECT_CVT(Name, Parent, CheckFun, ConvertFun) \ argument
806 PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \
820 #define PYBIND11_OBJECT(Name, Parent, CheckFun) \ argument
821 PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \
828 #define PYBIND11_OBJECT_DEFAULT(Name, Parent, CheckFun) \ argument
829 PYBIND11_OBJECT(Name, Parent, CheckFun) \