Macro names instead of numbers in logs
dylan.ah.smith at gmail.com
Sat Sep 11 16:34:44 CDT 2010
2010/9/7 Mariusz Pluciński <vshader at gmail.com>
> In my opinion it would be good to make it available in similar way, as
> functions like debugstr_guid, which are defined in include/wine/debug.h
> Messages' names are declared as an array MessageTypeNames in spy.c . Maybe
> it would be enough to copy it into the header and wrap access to it into
> simple function like debugstr_msg()? This is easiest way, but in the result
> there will be copy of array in each .so library. There will be also problem
> with multiple reference, but this may be solved following solution used in
> Storing the string table in libwine.so would avoid having a copy of the
array in each .so library that uses it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel