Lines Matching defs:PyObjectRef
50 class PyObjectRef {
52 PyObjectRef(T *referrent, nanobind::object object)
55 "cannot construct PyObjectRef with null referrent");
56 assert(this->object && "cannot construct PyObjectRef with null object");
58 PyObjectRef(PyObjectRef &&other) noexcept
63 PyObjectRef(const PyObjectRef &other)
65 ~PyObjectRef() = default;
162 using PyMlirContextRef = PyObjectRef<PyMlirContext>;
533 using PyModuleRef = PyObjectRef<PyModule>;
616 using PyOperationRef = PyObjectRef<PyOperation>;