X11 binding, XGetWindowProperty, and different behaviour for

Simon Gomizelj simongmzlj at gmail.com
Fri Apr 3 02:14:55 PDT 2009


On Thu, 02 Apr 2009 05:08:33 -0400, bearophile <bearophileHUGS at lycos.com>  
wrote:

> Simon Gomizelj:
>
> I don't like this:
> cast(long)*p : -1;
> In C you may need to use an union to perform that cast safely.
>
> Bye,
> bearophile

I agree it's ugly, but I'm starting with a straight port. It will get  
cleaned up. The D code never manages to get to that point so I have no  
idea if it even works. (The running C++ code makes me think it should).

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list