commit | 35c52b687ffa044a0a5a1fe2ef477ce653d926b7 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Thu Feb 07 16:59:34 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Thu Feb 07 16:59:34 2013 +0200 |
tree | 684d887a9f234d05af5126ebdd7c2137f0c0b51a | |
parent | d5327d95d2c345f384cc9d03be0d9c4e8773b277 [diff] [blame] |
Issue #17073: Fix some integer overflows in sqlite3 module.
diff --git a/Modules/_sqlite/util.h b/Modules/_sqlite/util.h index 4269003..12a5710 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