mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
change abstract size functions PySequence_Size &c.
add macros for backwards compatibility with C source
This commit is contained in:
parent
f981c8f915
commit
6253f83b0a
3 changed files with 21 additions and 15 deletions
|
@ -958,7 +958,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
|
|||
|
||||
|
||||
/* Hack to force loading of abstract.o */
|
||||
int (*_Py_abstract_hack)(PyObject *) = &PyObject_Length;
|
||||
int (*_Py_abstract_hack)(PyObject *) = &PyObject_Size;
|
||||
|
||||
|
||||
/* Python's malloc wrappers (see mymalloc.h) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue