diff options
author | nijtmans <nijtmans> | 2010-08-21 16:35:31 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-08-21 16:35:31 (GMT) |
commit | ae46ecacc73e65c3aad6f181bb631df76f1ceda2 (patch) | |
tree | 7ea59c12c468dfe88590872144eec4e6c8748d9b /generic/tkDecls.h | |
parent | fc22d193d9270cadf7112742536ec057e6f0fce2 (diff) | |
download | tk-ae46ecacc73e65c3aad6f181bb631df76f1ceda2.zip tk-ae46ecacc73e65c3aad6f181bb631df76f1ceda2.tar.gz tk-ae46ecacc73e65c3aad6f181bb631df76f1ceda2.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.h | 6 |
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 */ |