[pysqlite] sqlite3* to python connection typemap
"Dzhelil Rufat" <[email protected]> Sat, 13 Sep 2008 20:56:48 -0700
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am currently writing a SWIG wrapper to a C application, and some of the functions accept and return an sqlite3* connection pointer. I would like to translate that to an pysqlite connection type in Python. Does the module provide some function similar to PyInt_FromLong() to build a python connection from a pointer type? Thanks! _______________________________________________ list-pysqlite mailing list list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite