summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/microprotocols.h
diff options
context:
space:
mode:
authorGerhard Häring <gh@ghaering.de>2008-09-12 18:58:57 (GMT)
committerGerhard Häring <gh@ghaering.de>2008-09-12 18:58:57 (GMT)
commit6e1afcf9883f13bdf8808dc528e381f5c90a131b (patch)
treea40283fbad084a0d1cb378ce349a0e707fef1b17 /Modules/_sqlite/microprotocols.h
parentef2276b60d2345af49c8268f3a23feb59f5ecc38 (diff)
downloadcpython-6e1afcf9883f13bdf8808dc528e381f5c90a131b.zip
cpython-6e1afcf9883f13bdf8808dc528e381f5c90a131b.tar.gz
cpython-6e1afcf9883f13bdf8808dc528e381f5c90a131b.tar.bz2
Fixes issue #3103. In the sqlite3 module, made one more function static. All renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.
Diffstat (limited to 'Modules/_sqlite/microprotocols.h')
-rw-r--r--Modules/_sqlite/microprotocols.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_sqlite/microprotocols.h b/Modules/_sqlite/microprotocols.h
index c911c81..3a9944f 100644
--- a/Modules/_sqlite/microprotocols.h
+++ b/Modules/_sqlite/microprotocols.h
@@ -41,15 +41,15 @@ extern PyObject *psyco_adapters;
/** exported functions **/
/* used by module.c to init the microprotocols system */
-extern int microprotocols_init(PyObject *dict);
-extern int microprotocols_add(
+extern int pysqlite_microprotocols_init(PyObject *dict);
+extern int pysqlite_microprotocols_add(
PyTypeObject *type, PyObject *proto, PyObject *cast);
-extern PyObject *microprotocols_adapt(
+extern PyObject *pysqlite_microprotocols_adapt(
PyObject *obj, PyObject *proto, PyObject *alt);
extern PyObject *
- psyco_microprotocols_adapt(pysqlite_Cursor* self, PyObject *args);
-#define psyco_microprotocols_adapt_doc \
+ pysqlite_adapt(pysqlite_Cursor* self, PyObject *args);
+#define pysqlite_adapt_doc \
"adapt(obj, protocol, alternate) -> adapt obj to given protocol. Non-standard."
#endif /* !defined(PSYCOPG_MICROPROTOCOLS_H) */