summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
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/tcl.h
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/tcl.h')
-rw-r--r--generic/tcl.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 201a3a1..21e97cc 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -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: tcl.h,v 1.298 2010/01/22 13:05:17 nijtmans Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.299 2010/01/29 16:17:20 nijtmans Exp $
*/
#ifndef _TCL
@@ -2231,9 +2231,9 @@ typedef struct {
* argument types:
*/
-typedef int (*Tcl_ArgvFuncProc)(ClientData clientData, Tcl_Obj *objPtr,
+typedef int (Tcl_ArgvFuncProc)(ClientData clientData, Tcl_Obj *objPtr,
void *dstPtr);
-typedef int (*Tcl_ArgvGenFuncProc)(ClientData clientData, Tcl_Interp *interp,
+typedef int (Tcl_ArgvGenFuncProc)(ClientData clientData, Tcl_Interp *interp,
int objc, Tcl_Obj *const *objv, void *dstPtr);
/*
@@ -2342,7 +2342,6 @@ EXTERN const char * Tcl_PkgInitStubsCheck(Tcl_Interp *interp,
EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr);
#endif
-
/*
* Single public declaration for NRE.
*/
@@ -2529,7 +2528,6 @@ typedef int (Tcl_NRPostProc) (ClientData data[], Tcl_Interp *interp,
# define panicVA Tcl_PanicVA
#endif
-
/*
* Convenience declaration of Tcl_AppInit for backwards compatibility. This
* function is not *implemented* by the tcl library, so the storage class is