Searched refs:rec_capsule (Results 1 – 1 of 1) sorted by relevance
379 … auto rec_capsule = reinterpret_borrow<capsule>(PyCFunction_GET_SELF(rec->sibling.ptr())); in PYBIND11_NAMESPACE_BEGIN() local380 chain = (detail::function_record *) rec_capsule; in PYBIND11_NAMESPACE_BEGIN()400 capsule rec_capsule(unique_rec.release(), [](void *ptr) { in PYBIND11_NAMESPACE_BEGIN()414 m_ptr = PyCFunction_NewEx(rec->def, rec_capsule.ptr(), scope_module.ptr()); in PYBIND11_NAMESPACE_BEGIN()437 … auto rec_capsule = reinterpret_borrow<capsule>(((PyCFunctionObject *) m_ptr)->m_self); in PYBIND11_NAMESPACE_BEGIN() local438 rec_capsule.set_pointer(unique_rec.release()); in PYBIND11_NAMESPACE_BEGIN()