Skip to content
Tcl Source Code Artifact [d145bc9e5d]
Login

Artifact [d145bc9e5d]

Artifact d145bc9e5d6c465a3c6e436749ccb00caa23740e:

Wiki page [Panic] by dgp on 2014-09-09 19:33:19.
D 2014-09-09T19:33:19.478
L Panic
U dgp
W 671
<h1>Source Files</h1>
  *  [/finfo?name=generic/tclPanic.c|tclPanic.c]

<h1>Public Interface</h1>
  *  Tcl_SetPanicProc
  *  Tcl_PanicVA
  *  Tcl_Panic

<h1>Private Interface</h1>
  *  <i>None</i>

<h1>Directly Depends On Public Interface</h1>
  *  <i>stdlib.h</i>

<h1>Directly Depends On Private Interface of</h1>
  *  <i>None</i>

<h1>Discussion</h1>

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


Z 50cd47d9b95276cf2873b0db18016c9a