comparison Python/pythonrun.c @ 1347:a22a350d3a5d legacy-trunk

* Extended X interface: pixmap objects, colormap objects visual objects, image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists.
author Sjoerd Mullender <sjoerd@acm.org>
date Mon, 11 Oct 1993 12:54:31 +0000
parents cd397266dc1c
children 7c3245c18677
comparison
equal deleted inserted replaced
1346:5d0b2781e23b 1347:a22a350d3a5d
415 } 415 }
416 416
417 flushline(); 417 flushline();
418 } 418 }
419 419
420 #ifdef COUNT_ALLOCS
421 extern void dump_counts PROTO((void));
422 #endif
423
420 void 424 void
421 goaway(sts) 425 goaway(sts)
422 int sts; 426 int sts;
423 { 427 {
424 cleanup(); 428 cleanup();
429
430 #ifdef COUNT_ALLOCS
431 dump_counts();
432 #endif
425 433
426 #ifdef USE_THREAD 434 #ifdef USE_THREAD
427 435
428 /* Other threads may still be active, so skip most of the 436 /* Other threads may still be active, so skip most of the
429 cleanup actions usually done (these are mostly for 437 cleanup actions usually done (these are mostly for