Replace static initializers with a proper #define in .h files

Alexandre Julliard julliard at winehq.com
Sat Sep 14 15:14:16 CDT 2002


Francois Gouget <fgouget at free.fr> writes:

> Are defines really better?
> 
> It seemed to me that they had at least one disadvantage: the value is
> duplicated each time the define is used. Hmmm, I just retested and it
> looks as if I was wrong.
> 
> Anyway, what are the pros and cons?

Well, the defines would be better if we could use them, the problem is
that they are not portable at all.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list