summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-21 16:35:31 (GMT)
committernijtmans <nijtmans>2010-08-21 16:35:31 (GMT)
commitb8b5b04c76a16294ca5b57e96db9764b22d861c9 (patch)
tree7ea59c12c468dfe88590872144eec4e6c8748d9b /generic/tkDecls.h
parent9ded5f8369aab209295bca5b0926881c3da7325c (diff)
downloadtk-b8b5b04c76a16294ca5b57e96db9764b22d861c9.zip
tk-b8b5b04c76a16294ca5b57e96db9764b22d861c9.tar.gz
tk-b8b5b04c76a16294ca5b57e96db9764b22d861c9.tar.bz2
[Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly:
Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes.
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index e839171..280c0c9 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkDecls.h,v 1.49 2010/08/19 05:05:55 nijtmans Exp $
+ * RCS: @(#) $Id: tkDecls.h,v 1.50 2010/08/21 16:35:34 nijtmans Exp $
*/
#ifndef _TKDECLS
@@ -1100,8 +1100,8 @@ typedef struct TkStubs {
void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */
int (*tk_CreateConsoleWindow) (Tcl_Interp *interp); /* 216 */
void (*tk_CreateSmoothMethod) (Tcl_Interp *interp, const Tk_SmoothMethod *method); /* 217 */
- void *reserved218;
- void *reserved219;
+ void (*reserved218)(void);
+ void (*reserved219)(void);
int (*tk_GetDash) (Tcl_Interp *interp, const char *value, Tk_Dash *dash); /* 220 */
void (*tk_CreateOutline) (Tk_Outline *outline); /* 221 */
void (*tk_DeleteOutline) (Display *display, Tk_Outline *outline); /* 222 */