Searched refs:borrowed_t (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dpytypes.h277 struct borrowed_t { }; struct in class:object
285 object(handle h, borrowed_t) : handle(h) { inc_ref(); }
302 template <typename T> T reinterpret_borrow(handle h) { return {h, object::borrowed_t{}}; }
782 Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \
783 Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \
1015 none() : object(Py_None, borrowed_t{}) { }
1022 ellipsis() : object(Py_Ellipsis, borrowed_t{}) { }
1029 bool_() : object(Py_False, borrowed_t{}) { }
1031 bool_(bool value) : object(value ? Py_True : Py_False, borrowed_t{}) { }
[all...]
H A Dnumpy.h843 array_t(handle h, borrowed_t) : array(h, borrowed_t{}) { }

Completed in 16 milliseconds