commit | 3cf96ac2484d093bea17610480efd0e88301f72a | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Thu Feb 07 17:01:47 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Thu Feb 07 17:01:47 2013 +0200 |
tree | bb932dd53295a2214a1a208141ecf4793cb153be | |
parent | 3fd4ab356d76b048f2dbd25797fec87f68dd7f73 [diff] [blame] |
Issue #17073: Fix some integer overflows in sqlite3 module.
diff --git a/Modules/_sqlite/util.h b/Modules/_sqlite/util.h index baf405c..ca02149 100644 --- a/Modules/_sqlite/util.h +++ b/Modules/_sqlite/util.h
@@ -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