diff options
author | nijtmans <nijtmans@noemail.net> | 2010-01-29 16:17:20 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-01-29 16:17:20 (GMT) |
commit | 69f99f9864e67f7619f3cc1f2ae5278e109fa8e7 (patch) | |
tree | 26f8bbc7ca7c8759763e62169bfefcb1310134a0 /generic/tclIndexObj.c | |
parent | 42f5932ef552927d02161893ffa546dcd991fdb4 (diff) | |
download | tcl-69f99f9864e67f7619f3cc1f2ae5278e109fa8e7.zip tcl-69f99f9864e67f7619f3cc1f2ae5278e109fa8e7.tar.gz tcl-69f99f9864e67f7619f3cc1f2ae5278e109fa8e7.tar.bz2 |
- genStubs.tcl: No longer generate a space after "*" and
immediately after a function name, so the
format of function definitions in tcl*Decls.h
matches all other tcl*.h header files.
- Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc
and GetFrameInfoValueProc to be function
definitions, not pointers, for consistency
with all other Tcl function definitions.
FossilOrigin-Name: 92924901357b4846fa668b6f5122abf37979693a
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r-- | generic/tclIndexObj.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c index 67c420f..e419222 100644 --- a/generic/tclIndexObj.c +++ b/generic/tclIndexObj.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIndexObj.c,v 1.53 2009/11/18 21:59:50 nijtmans Exp $ + * RCS: @(#) $Id: tclIndexObj.c,v 1.54 2010/01/29 16:17:20 nijtmans Exp $ */ #include "tclInt.h" @@ -1235,7 +1235,7 @@ Tcl_ParseArgsObjv( objc--; break; case TCL_ARGV_FUNC: { - Tcl_ArgvFuncProc handlerProc; + Tcl_ArgvFuncProc *handlerProc; Tcl_Obj *argObj; if (objc == 0) { @@ -1243,7 +1243,7 @@ Tcl_ParseArgsObjv( } else { argObj = objv[srcIndex]; } - handlerProc = (Tcl_ArgvFuncProc) infoPtr->srcPtr; + handlerProc = (Tcl_ArgvFuncProc *) infoPtr->srcPtr; if (handlerProc(infoPtr->clientData, argObj, infoPtr->dstPtr)) { srcIndex++; objc--; @@ -1251,9 +1251,9 @@ Tcl_ParseArgsObjv( break; } case TCL_ARGV_GENFUNC: { - Tcl_ArgvGenFuncProc handlerProc; + Tcl_ArgvGenFuncProc *handlerProc; - handlerProc = (Tcl_ArgvGenFuncProc) infoPtr->srcPtr; + handlerProc = (Tcl_ArgvGenFuncProc *) infoPtr->srcPtr; objc = handlerProc(infoPtr->clientData, interp, objc, &objv[srcIndex], infoPtr->dstPtr); if (objc < 0) { |