reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1486 data->klass = obj; 1487 Py_INCREF(data->klass); 1490 data->newraw = 0; 1491 data->newargs = obj; 1497 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); 1497 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); 1499 if (data->newraw) { 1500 Py_INCREF(data->newraw); 1501 data->newargs = PyTuple_New(1); 1502 PyTuple_SetItem(data->newargs, 0, obj); 1504 data->newargs = obj; 1506 Py_INCREF(data->newargs); 1509 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); 1509 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); 1512 data->destroy = 0; 1514 if (data->destroy) { 1516 Py_INCREF(data->destroy); 1517 flags = PyCFunction_GET_FLAGS(data->destroy); 1519 data->delargs = !(flags & (METH_O)); 1524 data->delargs = 0; 1526 data->implicitconv = 0; 1527 data->pytype = 0; 1528 return data;