summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-21 16:35:31 (GMT)
committernijtmans <nijtmans>2010-08-21 16:35:31 (GMT)
commitae46ecacc73e65c3aad6f181bb631df76f1ceda2 (patch)
tree7ea59c12c468dfe88590872144eec4e6c8748d9b /generic/tkIntXlibDecls.h
parentfc22d193d9270cadf7112742536ec057e6f0fce2 (diff)
downloadtk-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/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index 8ce9ab6..1149d39 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -9,7 +9,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.31 2010/08/19 05:05:55 nijtmans Exp $
+ * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.32 2010/08/21 16:35:33 nijtmans Exp $
*/
#ifndef _TKINTXLIBDECLS
@@ -687,7 +687,7 @@ typedef struct TkIntXlibStubs {
Bool (*xFilterEvent) (XEvent *x, Window w); /* 78 */
int (*xmbLookupString) (XIC xi, XKeyPressedEvent *xk, char *c, int i, KeySym *k, Status *s); /* 79 */
void (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */
- void *reserved81;
+ void (*reserved81)(void);
Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 82 */
GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 83 */
void (*xFreeGC) (Display *display, GC gc); /* 84 */