Skip to content
Tcl Source Code Update of ”Embedding Support”
Login

Update of ”Embedding Support”

Overview

Artifact ID: 5f72172b72c8068af96d0978e67f0658eec7a2de
Page Name:Embedding Support
Date: 2014-08-30 01:22:19
Original User: dgp
Parent: 579336bc6dbe3801e30bbc97e001415db46faa16 (diff)
Next 720a97572754382f2e82b2b01d62e787c401e4e5
Content

Source Files

Public Interface

Private Interface

Directly Depends On Public Interface

Directly Depends On Private Interface of

Discussion

This has been considered a single module, but tclPanic.c is essentially a self contained bit without dependencies, while tclMain.c depends on nearly everything. Most other parts of Tcl that claim a dependence on this module are really just callers of Tcl_Panic.

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.