gh-138342: Move _PyObject_VisitType() to the internal C API (#139734)

This commit is contained in:
Victor Stinner 2025-10-08 12:10:58 +02:00 committed by GitHub
parent a15aeec29e
commit c4e7d245d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 35 additions and 11 deletions

View file

@ -21,10 +21,17 @@
* 3. This notice may not be removed or altered from any source distribution.
*/
#ifndef Py_BUILD_CORE_BUILTIN
# define Py_BUILD_CORE_MODULE 1
#endif
#include "connection.h"
#include "statement.h"
#include "util.h"
#include "pycore_object.h" // _PyObject_VisitType()
#define _pysqlite_Statement_CAST(op) ((pysqlite_Statement *)(op))
/* prototypes */