diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-15 07:43:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-15 07:43:50 (GMT) |
commit | c43656f1112d65797a75c26595a0c52ebc7af4eb (patch) | |
tree | f2f673ddd603a6b4273bdf897d06f122fb8e3cb0 /generic/tkIntXlibDecls.h | |
parent | bccaebbe6783ffb8372daeb83376a47c53968036 (diff) | |
download | tk-c43656f1112d65797a75c26595a0c52ebc7af4eb.zip tk-c43656f1112d65797a75c26595a0c52ebc7af4eb.tar.gz tk-c43656f1112d65797a75c26595a0c52ebc7af4eb.tar.bz2 |
fix signature of XSynchronize to match X.org
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r-- | generic/tkIntXlibDecls.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h index fd6eb36..5b0f267 100644 --- a/generic/tkIntXlibDecls.h +++ b/generic/tkIntXlibDecls.h @@ -30,6 +30,10 @@ #define TCL_STORAGE_CLASS DLLEXPORT #endif +typedef int (*XAfterFunction) ( /* WARNING, this type not in Xlib spec */ + Display* /* display */ +); + /* !BEGIN!: Do not edit below this line. */ /* @@ -343,7 +347,7 @@ EXTERN int XFree(void *data); /* 111 */ EXTERN int XNoOp(Display *display); /* 112 */ -EXTERN int XSynchronize(Display *display, Bool onoff); +EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff); /* 113 */ EXTERN int XSync(Display *display, Bool discard); /* 114 */ @@ -731,7 +735,7 @@ typedef struct TkIntXlibStubs { int (*xUngrabServer) (Display *display); /* 109 */ int (*xFree) (void *data); /* 110 */ int (*xNoOp) (Display *display); /* 111 */ - int (*xSynchronize) (Display *display, Bool onoff); /* 112 */ + XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */ int (*xSync) (Display *display, Bool discard); /* 113 */ VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */ #endif /* WIN */ |