Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/util.h @ 82054:649937bb8f1c 2.7
Issue #17073: Fix some integer overflows in sqlite3 module.
| author | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| date | Thu, 07 Feb 2013 16:59:34 +0200 |
| parents | 04d3ae52ff73 |
| children | 44fe1f5b07e3 |
line wrap: on
line diff
--- a/Modules/_sqlite/util.h Thu Feb 07 16:23:11 2013 +0200 +++ b/Modules/_sqlite/util.h Thu Feb 07 16:59:34 2013 +0200 @@ -35,4 +35,8 @@ * Returns the error code (0 means no error occurred). */ int _pysqlite_seterror(sqlite3* db, sqlite3_stmt* st); + +PyObject * _pysqlite_long_from_int64(sqlite3_int64 value); +sqlite3_int64 _pysqlite_long_as_int64(PyObject * value); + #endif
