summaryrefslogtreecommitdiffstats
path: root/generic/tkIntDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-26 13:28:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-26 13:28:30 (GMT)
commitb179e49267796648ca9aceb0b4f3e81c38a4beed (patch)
treedecbeda34d9829382f06660366abcebd3b727591 /generic/tkIntDecls.h
parent9eba774dc974fb9cb00823f0a69cec8d608f0809 (diff)
downloadtk-b179e49267796648ca9aceb0b4f3e81c38a4beed.zip
tk-b179e49267796648ca9aceb0b4f3e81c38a4beed.tar.gz
tk-b179e49267796648ca9aceb0b4f3e81c38a4beed.tar.bz2
Fix signature for TkpDrawCharsInContext/TkDrawAngledChars, when compiling with 9.0 headers
Diffstat (limited to 'generic/tkIntDecls.h')
-rw-r--r--generic/tkIntDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h
index e5dcd9b..ba87749 100644
--- a/generic/tkIntDecls.h
+++ b/generic/tkIntDecls.h
@@ -562,8 +562,8 @@ EXTERN int TkIntersectAngledTextLayout(Tk_TextLayout layout,
/* 184 */
EXTERN void TkDrawAngledChars(Display *display,
Drawable drawable, GC gc, Tk_Font tkfont,
- const char *source, int numBytes, double x,
- double y, double angle);
+ const char *source, Tcl_Size numBytes,
+ double x, double y, double angle);
/* 185 */
EXTERN void TkpRedrawWidget(Tk_Window tkwin);
/* 186 */
@@ -788,7 +788,7 @@ typedef struct TkIntStubs {
void (*tkDrawAngledTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, double angle, int firstChar, int lastChar); /* 181 */
void (*tkUnderlineAngledTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, double angle, int underline); /* 182 */
int (*tkIntersectAngledTextLayout) (Tk_TextLayout layout, int x, int y, int width, int height, double angle); /* 183 */
- void (*tkDrawAngledChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, const char *source, int numBytes, double x, double y, double angle); /* 184 */
+ void (*tkDrawAngledChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, const char *source, Tcl_Size numBytes, double x, double y, double angle); /* 184 */
void (*tkpRedrawWidget) (Tk_Window tkwin); /* 185 */
int (*tkpWillDrawWidget) (Tk_Window tkwin); /* 186 */
int (*tkDebugPhotoStringMatchDef) (Tcl_Interp *inter, Tcl_Obj *data, Tcl_Obj *formatString, int *widthPtr, int *heightPtr); /* 187 */