diff options
author | Kevin B Kenny <kennykb@acm.org> | 2001-04-24 20:59:17 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2001-04-24 20:59:17 (GMT) |
commit | 746a8cbba288a220947b571d54e2d48ae2e8d488 (patch) | |
tree | b74e8cf3cd4260aae42c138b221cee772af6296a /generic/tclCmdMZ.c | |
parent | a92611e9ae6caf8a0864552f968a4f04e97ee28e (diff) | |
download | tcl-746a8cbba288a220947b571d54e2d48ae2e8d488.zip tcl-746a8cbba288a220947b571d54e2d48ae2e8d488.tar.gz tcl-746a8cbba288a220947b571d54e2d48ae2e8d488.tar.bz2 |
(TIP #27) Another round of CONST changes, this
time adding CONST to the API's exported from tclBasic.c.
[Patch #415179]
***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince
Darley's changes to command tracing were added. A const has been
added to the type signature of one of the parameters to
Tcl_CommandTraceProc.
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index ff5362a..54c1878 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdMZ.c,v 1.35 2001/04/06 10:50:00 dkf Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.36 2001/04/24 20:59:17 kennykb Exp $ */ #include "tclInt.h" @@ -89,8 +89,8 @@ static char * TraceVarProc _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, char *name1, char *name2, int flags)); static void TraceCommandProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *oldName, char *newName, - int flags)); + Tcl_Interp *interp, CONST char *oldName, + CONST char *newName, int flags)); /* @@ -3432,8 +3432,8 @@ static void TraceCommandProc(clientData, interp, oldName, newName, flags) ClientData clientData; /* Information about the command trace. */ Tcl_Interp *interp; /* Interpreter containing command. */ - char *oldName; /* Name of command being changed. */ - char *newName; /* New name of command. Empty string + CONST char *oldName; /* Name of command being changed. */ + CONST char *newName; /* New name of command. Empty string * or NULL means command is being deleted * (renamed to ""). */ int flags; /* OR-ed bits giving operation and other |