comparison Python/sysmodule.c @ 3585:4ed09a3c3201 legacy-trunk

TRACE_REFS -> Py_TRACE_REFS
author Guido van Rossum <guido@python.org>
date Thu, 23 May 1996 22:45:41 +0000
parents 1dfc519ea3cb
children 0b0c4ed1936a
comparison
equal deleted inserted replaced
3584:72ad2f1e9919 3585:4ed09a3c3201
180 return NULL; 180 return NULL;
181 return get_counts(); 181 return get_counts();
182 } 182 }
183 #endif 183 #endif
184 184
185 #ifdef TRACE_REFS 185 #ifdef Py_TRACE_REFS
186 extern PyObject *getobjects Py_PROTO((PyObject *, PyObject *)); 186 extern PyObject *getobjects Py_PROTO((PyObject *, PyObject *));
187 #endif 187 #endif
188 static struct methodlist sys_methods[] = { 188 static struct methodlist sys_methods[] = {
189 {"exit", sys_exit, 0}, 189 {"exit", sys_exit, 0},
190 {"getrefcount", sys_getrefcount, 0}, 190 {"getrefcount", sys_getrefcount, 0},
191 #ifdef COUNT_ALLOCS 191 #ifdef COUNT_ALLOCS
192 {"getcounts", sys_getcounts, 0}, 192 {"getcounts", sys_getcounts, 0},
193 #endif 193 #endif
194 #ifdef TRACE_REFS 194 #ifdef Py_TRACE_REFS
195 {"getobjects", getobjects, 1}, 195 {"getobjects", getobjects, 1},
196 #endif 196 #endif
197 #ifdef USE_MALLOPT 197 #ifdef USE_MALLOPT
198 {"mdebug", sys_mdebug, 0}, 198 {"mdebug", sys_mdebug, 0},
199 #endif 199 #endif