mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
bpo-43258: Make sqlite3 callback functions static (GH-24574)
This commit is contained in:
committed by
GitHub
parent
979b23cbe4
commit
2bb0bf4dd8
@@ -600,7 +600,8 @@ PyObject* _pysqlite_build_py_params(sqlite3_context *context, int argc, sqlite3_
|
||||
return args;
|
||||
}
|
||||
|
||||
void _pysqlite_func_callback(sqlite3_context* context, int argc, sqlite3_value** argv)
|
||||
static void
|
||||
_pysqlite_func_callback(sqlite3_context *context, int argc, sqlite3_value **argv)
|
||||
{
|
||||
PyObject* args;
|
||||
PyObject* py_func;
|
||||
@@ -696,7 +697,8 @@ error:
|
||||
PyGILState_Release(threadstate);
|
||||
}
|
||||
|
||||
void _pysqlite_final_callback(sqlite3_context* context)
|
||||
static void
|
||||
_pysqlite_final_callback(sqlite3_context *context)
|
||||
{
|
||||
PyObject* function_result;
|
||||
PyObject** aggregate_instance;
|
||||
|
||||
Reference in New Issue
Block a user