Does the dub registry at code.dlang.org have problems?

Gary Willoughby dev at nomad.so
Fri Jan 10 13:16:13 PST 2014


On Friday, 10 January 2014 at 20:57:51 UTC, Paulo Pinto wrote:
> I used to be an heavy Tcl/Tk user on Windows NT/2000 during 
> 1999 - 2001.
>
> Tk only imports X11 on UNIX platforms.
>
> http://core.tcl.tk/tk/tree?ci=tip
>
> --
> Paulo

Looking at tk.h i see this:

#ifndef _XLIB_H
#   if defined(MAC_OSX_TK)
#	include <X11/Xlib.h>
#	include <X11/X.h>
#   else
#	include <X11/Xlib.h>
#   endif
#endif

Which intimates to me that all platforms include it? Then 
tkDecls.h uses types that the X11 headers define, e.g (XColor):

EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, Tk_Canvas canvas, 
XColor *colorPtr);


More information about the Digitalmars-d mailing list