Skip to content
Tcl Source Code Changes To Panic
Login

Changes To Panic

Initial version of "Panic"

























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<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.