On 3 Aug 2007, at 10:24, Andreas Höschler wrote:

> #define PROP_GETS(win, prop, type, ret) (prop_get_string_##type(win,
> prop_atoms.prop, ret))

…

> Obviously PROP_GETS is a macro, but what is prop_get_string_##type?
> Google had no answer! I also looked into X11/Xlib.h but found nothing.
> :-(

The ## part is a preprocessor directive for concatenating tokens.  It  
creates a token by combining prop_get_string_ and the third argument,  
in this case utf8.  The resulting token is prop_get_string_utf8,  
which is defined in props.m.  I had a quick look in this function,  
and didn't see anything obviously wrong, so the error is probably in  
the get_all function, or something it calls.

David
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à