|
|
59062c0 |
diff -up Python-2.5.1/Modules/_sqlite/cache.h.pysqlite Python-2.5.1/Modules/_sqlite/cache.h
|
|
|
59062c0 |
--- Python-2.5.1/Modules/_sqlite/cache.h.pysqlite 2006-04-23 16:24:26.000000000 +0100
|
|
|
59062c0 |
+++ Python-2.5.1/Modules/_sqlite/cache.h 2007-10-25 11:21:31.000000000 +0100
|
|
|
59062c0 |
@@ -64,7 +64,7 @@ extern PyTypeObject CacheType;
|
|
|
59062c0 |
int node_init(Node* self, PyObject* args, PyObject* kwargs);
|
|
|
59062c0 |
void node_dealloc(Node* self);
|
|
|
59062c0 |
|
|
|
59062c0 |
-int cache_init(Cache* self, PyObject* args, PyObject* kwargs);
|
|
|
59062c0 |
+int pysqlite_cache_init(Cache* self, PyObject* args, PyObject* kwargs);
|
|
|
59062c0 |
void cache_dealloc(Cache* self);
|
|
|
59062c0 |
PyObject* cache_get(Cache* self, PyObject* args);
|
|
|
59062c0 |
|
|
|
59062c0 |
diff -up Python-2.5.1/Modules/_sqlite/cache.c.pysqlite Python-2.5.1/Modules/_sqlite/cache.c
|
|
|
59062c0 |
--- Python-2.5.1/Modules/_sqlite/cache.c.pysqlite 2006-04-23 16:24:26.000000000 +0100
|
|
|
59062c0 |
+++ Python-2.5.1/Modules/_sqlite/cache.c 2007-10-25 11:22:10.000000000 +0100
|
|
|
59062c0 |
@@ -54,7 +54,7 @@ void node_dealloc(Node* self)
|
|
|
59062c0 |
self->ob_type->tp_free((PyObject*)self);
|
|
|
59062c0 |
}
|
|
|
59062c0 |
|
|
|
59062c0 |
-int cache_init(Cache* self, PyObject* args, PyObject* kwargs)
|
|
|
59062c0 |
+int pysqlite_cache_init(Cache* self, PyObject* args, PyObject* kwargs)
|
|
|
59062c0 |
{
|
|
|
59062c0 |
PyObject* factory;
|
|
|
59062c0 |
int size = 10;
|
|
|
59062c0 |
@@ -352,7 +352,7 @@ PyTypeObject CacheType = {
|
|
|
59062c0 |
0, /* tp_descr_get */
|
|
|
59062c0 |
0, /* tp_descr_set */
|
|
|
59062c0 |
0, /* tp_dictoffset */
|
|
|
59062c0 |
- (initproc)cache_init, /* tp_init */
|
|
|
59062c0 |
+ (initproc)pysqlite_cache_init, /* tp_init */
|
|
|
59062c0 |
0, /* tp_alloc */
|
|
|
59062c0 |
0, /* tp_new */
|
|
|
59062c0 |
0 /* tp_free */
|