Lines Matching refs:PyObject
38 PyObject* pysqlite_Error, *pysqlite_Warning, *pysqlite_InterfaceError, *pysqlite_DatabaseError,
42 PyObject* converters;
46 static PyObject* module_connect(PyObject* self, PyObject* args, PyObject*
54 PyObject* database;
56 PyObject* isolation_level;
57 PyObject* factory = NULL;
62 PyObject* result;
71 factory = (PyObject*)&pysqlite_ConnectionType;
86 static PyObject* module_complete(PyObject* self, PyObject* args, PyObject*
92 PyObject* result;
116 static PyObject* module_enable_shared_cache(PyObject* self, PyObject* args, PyObject*
146 static PyObject* module_register_adapter(PyObject* self, PyObject* args)
149 PyObject* caster;
163 rc = pysqlite_microprotocols_add(type, (PyObject*)&pysqlite_PrepareProtocolType, caster);
176 static PyObject* module_register_converter(PyObject* self, PyObject* args)
178 PyObject* orig_name;
179 PyObject* name = NULL;
180 PyObject* callable;
181 PyObject* retval = NULL;
209 static PyObject* enable_callback_tracebacks(PyObject* self, PyObject* args)
224 static void converters_init(PyObject* dict)
305 PyObject *module, *dict;
306 PyObject *tmp_obj;
323 PyModule_AddObject(module, "Connection", (PyObject*) &pysqlite_ConnectionType);
325 PyModule_AddObject(module, "Cursor", (PyObject*) &pysqlite_CursorType);
327 PyModule_AddObject(module, "Statement", (PyObject*)&pysqlite_StatementType);
329 PyModule_AddObject(module, "Cache", (PyObject*) &pysqlite_CacheType);
331 PyModule_AddObject(module, "PrepareProtocol", (PyObject*) &pysqlite_PrepareProtocolType);
333 PyModule_AddObject(module, "Row", (PyObject*) &pysqlite_RowType);
399 Py_INCREF((PyObject*)&PyCell_Type);
400 pysqlite_OptimizedUnicode = (PyObject*)&PyCell_Type;