Macro names instead of numbers in logs

Dylan Smith dylan.ah.smith at
Sat Sep 11 16:34:44 CDT 2010

2010/9/7 Mariusz Pluciński <vshader at>

> 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
> test.h.
> Storing the string table in would avoid having a copy of the
array in each .so library that uses it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wine-devel mailing list