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

Paulo Pinto pjmlp at progtools.org
Fri Jan 10 14:07:44 PST 2014


Am 10.01.2014 22:16, schrieb Gary Willoughby:
> 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);


Yes, but if you cared to look at the rest of the code, you would have 
seen that those X11 calls are mapped to Win32 ones.

Maybe I should have expressed myself better.

--
Paulo


More information about the Digitalmars-d mailing list