| 1076 | }; |
| 1077 | |
| 1078 | static PyObject * |
| 1079 | construct_db(PyObject *self, PyObject *args) |
| 1080 | { |
| 1081 | UpsDatabase *hdb = PyObject_New(UpsDatabase, &UpsDatabase_Type); |
| 1082 | if (!hdb) |
| 1083 | return (0); |
| 1084 | |
| 1085 | hdb->db = 0; |
| 1086 | hdb->flags = 0; |
| 1087 | hdb->comparecb = 0; |
| 1088 | hdb->err_type = 0; |
| 1089 | hdb->err_value = 0; |
| 1090 | hdb->err_traceback = 0; |
| 1091 | hdb->cursorlist = 0; |
| 1092 | |
| 1093 | return ((PyObject *)hdb); |
| 1094 | } |
| 1095 | |
| 1096 | static PyObject * |
| 1097 | cursor_getattr(UpsCursor *self, char *name) |
no outgoing calls
no test coverage detected