Tk Source Code

Check-in [ce8ee56b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:unbreak Linux build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mistake
Files: files | file ages | folders
SHA1: ce8ee56b11d526aa281f2659e3cdf6345efb68a9
User & Date: jan.nijtmans 2012-06-01 07:29:44
Context
2012-06-01
07:35
merge check-in: 684c70c9 user: jan.nijtmans tags: trunk
07:29
unbreak Linux build Closed-Leaf check-in: ce8ee56b user: jan.nijtmans tags: mistake
2012-05-31
09:30
Implement XFlush and various others for win32 as stubs, so win32 extensions using those can run under CYGWIN as well. Allow tk86.dll to cooperate with the cygwin console. check-in: 37867eab user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkIntXlibDecls.h.

1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
#endif /* defined(USE_TK_STUBS) */

/* !END!: Do not edit above this line. */

#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT

#if !(defined(__WIN32__) || defined(__CYGWIN__))
/*
 * The TkPutImage macro strips off the color table information, which isn't
 * needed for X.
 */

#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \
	XPutImage(display, pixels, gc, image, srcx, srcy, destx, \
	desty, width, height);
#endif

#endif /* _TKINTXLIBDECLS */







<
<
<
<
<
<
<
<
<
<
<

1266
1267
1268
1269
1270
1271
1272











1273
#endif /* defined(USE_TK_STUBS) */

/* !END!: Do not edit above this line. */

#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT












#endif /* _TKINTXLIBDECLS */

Changes to unix/tkUnixPort.h.

122
123
124
125
126
127
128









129
130
131
132
133
134
135
#   define HMENU void *
#   define TkWinDCState void
#   define HPALETTE void *
#   define WNDPROC void *
#   define WPARAM void *
#   define LPARAM void *
#   define LRESULT void *









#endif

/*
 * Supply macros for seek offsets, if they're not already provided by
 * an include file.
 */








>
>
>
>
>
>
>
>
>







122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#   define HMENU void *
#   define TkWinDCState void
#   define HPALETTE void *
#   define WNDPROC void *
#   define WPARAM void *
#   define LPARAM void *
#   define LRESULT void *
#else
/*
 * The TkPutImage macro strips off the color table information, which isn't
 * needed for X.
 */

#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \
	XPutImage(display, pixels, gc, image, srcx, srcy, destx, \
	desty, width, height);
#endif

/*
 * Supply macros for seek offsets, if they're not already provided by
 * an include file.
 */