8000 Remove exposed C-API · python/cpython@65c7e30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65c7e30

Browse files
Remove exposed C-API
1 parent 3866ad7 commit 65c7e30

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Include/object.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ static inline Py_ssize_t _Py_SIZE(const PyVarObject *ob) {
159159
#define Py_SIZE(ob) _Py_SIZE(_PyVarObject_CAST_CONST(ob))
160160

161161

162-
PyAPI_FUNC(PyObject *) PyGC_ImmortalizeHeap(void);
163-
164162
static inline int _Py_IsImmortal(PyObject *op)
165163
{
166164
return (op->ob_refcnt & _Py_IMMORTAL_BIT) != 0;

0 commit comments

Comments
 (0)
0