D 2014-09-09T19:33:19.478 L Panic U dgp W 671

Source Files

* [/finfo?name=generic/tclPanic.c|tclPanic.c]

Public Interface

* Tcl_SetPanicProc * Tcl_PanicVA * Tcl_Panic

Private Interface

* None

Directly Depends On Public Interface

* stdlib.h

Directly Depends On Private Interface of

* None

Discussion

One wrinkle is the routine tclWinDebugPanic which is in multiple places, tclWinError.c and tclWinFile.c. There's also a great deal of #ifdef in tclPanic.c. A restructuring into a generic caller of TclpPanic might be a path to increasing simplicity and conventionality. Z 50cd47d9b95276cf2873b0db18016c9a