| 404 | /// Instance creation function for all pybind11 types. It only allocates space for the |
| 405 | /// C++ object, but doesn't call the constructor -- an `__init__` function must do that. |
| 406 | extern "C" inline PyObject *pybind11_object_new(PyTypeObject *type, PyObject *, PyObject *) { |
| 407 | return make_new_instance(type); |
| 408 | } |
| 409 | |
| 410 | /// An `__init__` function constructs the C++ object. Users should provide at least one |
| 411 | /// of these using `py::init` or directly with `.def(__init__, ...)`. Otherwise, the |
nothing calls this directly
no test coverage detected