diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-27 11:42:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-27 11:42:39 (GMT) |
commit | 47bc13b6d44edf2161eb16a0ae13020000cb8732 (patch) | |
tree | 91534327ea558e3c3471225c1819aee8ebb98aa1 /generic/tclTrace.c | |
parent | b9e65c9024612809636cc0bd56376d484374858d (diff) | |
download | tcl-47bc13b6d44edf2161eb16a0ae13020000cb8732.zip tcl-47bc13b6d44edf2161eb16a0ae13020000cb8732.tar.gz tcl-47bc13b6d44edf2161eb16a0ae13020000cb8732.tar.bz2 |
Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> Tcl_VarTraceInfo2 conversions.
Diffstat (limited to 'generic/tclTrace.c')
-rw-r--r-- | generic/tclTrace.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclTrace.c b/generic/tclTrace.c index d7430ca..73e7c66 100644 --- a/generic/tclTrace.c +++ b/generic/tclTrace.c @@ -155,8 +155,8 @@ typedef struct StringTraceData { #define FOREACH_VAR_TRACE(interp, name, clientData) \ (clientData) = NULL; \ - while (((clientData) = Tcl_VarTraceInfo((interp), (name), 0, \ - TraceVarProc, (clientData))) != NULL) + while (((clientData) = Tcl_VarTraceInfo2((interp), (name), NULL, \ + 0, TraceVarProc, (clientData))) != NULL) #define FOREACH_COMMAND_TRACE(interp, name, clientData) \ (clientData) = NULL; \ @@ -2815,6 +2815,7 @@ DisposeTraceResult( *---------------------------------------------------------------------- */ +#undef Tcl_UntraceVar void Tcl_UntraceVar( Tcl_Interp *interp, /* Interpreter containing variable. */ @@ -2983,6 +2984,7 @@ Tcl_UntraceVar2( *---------------------------------------------------------------------- */ +#undef Tcl_VarTraceInfo ClientData Tcl_VarTraceInfo( Tcl_Interp *interp, /* Interpreter containing variable. */ |