Lines Matching defs:metaclass
159 /** This metaclass is assigned by default to all pybind11 types and is required in order
160 for static properties to function correctly. Users may override this using `py::metaclass`.
172 pybind11_fail("make_default_metaclass(): error allocating metaclass!");
365 inline PyObject *make_object_base_type(PyTypeObject *metaclass) {
373 auto heap_type = (PyHeapTypeObject *) metaclass->tp_alloc(metaclass, 0);
562 auto metaclass = rec.metaclass.ptr() ? (PyTypeObject *) rec.metaclass.ptr()
565 auto heap_type = (PyHeapTypeObject *) metaclass->tp_alloc(metaclass, 0);