From: <ar...@co...> - 2006-04-23 13:23:34
|
Author: arigo Date: Sun Apr 23 15:23:55 2006 New Revision: 26185 Modified: psyco/dist/c/Objects/ptypeobject.c Log: Macros using a symbol not exported by the Windows Python DLL. Replace with a function call. Modified: psyco/dist/c/Objects/ptypeobject.c ============================================================================== --- psyco/dist/c/Objects/ptypeobject.c (original) +++ psyco/dist/c/Objects/ptypeobject.c Sun Apr 23 15:23:55 2006 @@ -150,7 +150,7 @@ memset(obj, '\0', size); Py_INCREF(type); PyObject_INIT(obj, type); - _PyObject_GC_TRACK(obj); + PyObject_GC_Track(obj); return obj; } @@ -162,7 +162,7 @@ return PyErr_NoMemory(); memset(obj, '\0', size); PyObject_INIT(obj, type); - _PyObject_GC_TRACK(obj); + PyObject_GC_Track(obj); return obj; } |