]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42064: Pass module state to `sqlite3` UDF callbacks (GH-27456)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Tue, 24 Aug 2021 12:24:09 +0000 (14:24 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Aug 2021 12:24:09 +0000 (05:24 -0700)
commit9ed523159c7ba840dbf403e02498eeae1b5d3ed9
treee194a41d3a15d9d72f3549f7f6fdc810bceb78cd
parent7179930ab5f5b2dea039023bec968aadc03e3775
bpo-42064: Pass module state to `sqlite3` UDF callbacks (GH-27456)

- Establish common callback context struct
- Convert UDF callbacks to fetch module state from callback context
Modules/_sqlite/connection.c
Modules/_sqlite/connection.h