mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
gh-138342: Move _PyObject_VisitType() to the internal C API (#139734)
This commit is contained in:
parent
a15aeec29e
commit
c4e7d245d6
15 changed files with 35 additions and 11 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue