summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-29 16:17:20 (GMT)
committernijtmans <nijtmans>2010-01-29 16:17:20 (GMT)
commit20dedb76e13ace251494944dae1a8e60d2f6d70a (patch)
tree26f8bbc7ca7c8759763e62169bfefcb1310134a0 /generic/tclIndexObj.c
parent2a36240c713f132ba78917496b237d879d5e2d58 (diff)
downloadtcl-20dedb76e13ace251494944dae1a8e60d2f6d70a.zip
tcl-20dedb76e13ace251494944dae1a8e60d2f6d70a.tar.gz
tcl-20dedb76e13ace251494944dae1a8e60d2f6d70a.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.
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r--generic/tclIndexObj.c10
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) {