diff options
author | davygrvy <davygrvy@noemail.net> | 2003-12-24 04:18:17 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2003-12-24 04:18:17 (GMT) |
commit | ab17eb9562a2b91718470716510884e1c0edfbbc (patch) | |
tree | eff546c6e792fecd4310f81379419c1d68d63c28 /generic/tclAlloc.c | |
parent | c1f7aa10c0c63abe68c8a682c909b106fb843615 (diff) | |
download | tcl-ab17eb9562a2b91718470716510884e1c0edfbbc.zip tcl-ab17eb9562a2b91718470716510884e1c0edfbbc.tar.gz tcl-ab17eb9562a2b91718470716510884e1c0edfbbc.tar.bz2 |
All uses of 'panic' (the macro) changed
to 'Tcl_Panic' (the function). The #define
of panic in tcl.h clearly states it is
deprecated in the comments.
[Patch 865264]
FossilOrigin-Name: 524a53e3b36111f085cdb216a27da061773239ae
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r-- | generic/tclAlloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c index fe64c97..b99b188 100644 --- a/generic/tclAlloc.c +++ b/generic/tclAlloc.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclAlloc.c,v 1.16 2002/04/23 17:03:34 hobbs Exp $ + * RCS: @(#) $Id: tclAlloc.c,v 1.17 2003/12/24 04:18:18 davygrvy Exp $ */ /* @@ -140,8 +140,8 @@ static unsigned int nmalloc[NBUCKETS+1]; #endif #if defined(DEBUG) || defined(RCHECK) -#define ASSERT(p) if (!(p)) panic(# p) -#define RANGE_ASSERT(p) if (!(p)) panic(# p) +#define ASSERT(p) if (!(p)) Tcl_Panic(# p) +#define RANGE_ASSERT(p) if (!(p)) Tcl_Panic(# p) #else #define ASSERT(p) #define RANGE_ASSERT(p) |