Update of /cvsroot/python/python/dist/src/Objects In directory usw-pr-cvs1:/tmp/cvs-serv19023/Objects Modified Files: object.c Log Message: Move PyObject_Malloc and PyObject_Free to obmalloc.c. Index: object.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v retrieving revision 2.170 retrieving revision 2.171 diff -C2 -d -r2.170 -r2.171 *** object.c 3 Apr 2002 22:41:51 -0000 2.170 --- object.c 12 Apr 2002 03:08:42 -0000 2.171 *************** *** 138,141 **** --- 138,143 ---- } + /* for binary compatibility with 2.2 */ + #undef _PyObject_Del void _PyObject_Del(PyObject *op) *************** *** 1914,1938 **** { PyMem_FREE(p); - } - - - /* Python's object malloc wrappers (see objimpl.h) */ - - void * - PyObject_Malloc(size_t nbytes) - { - return PyObject_MALLOC(nbytes); - } - - void * - PyObject_Realloc(void *p, size_t nbytes) - { - return PyObject_REALLOC(p, nbytes); - } - - void - PyObject_Free(void *p) - { - PyObject_FREE(p); } --- 1916,1919 ----
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4