Macro names instead of numbers in logs
Florian Köberle
florian at fkoeberle.de
Sun Sep 12 03:38:09 CDT 2010
On 09/11/2010 11:34 PM, Dylan Smith wrote:
> 2010/9/7 Mariusz Pluciński <vshader at gmail.com <mailto: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 test.h.
>
> Storing the string table in libwine.so would avoid having a copy of
> the array in each .so library that uses it.
>
>
>
Can stuff in libwine be used by tests? Does libwine get linked into
cross test executables?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20100912/2c39e5ad/attachment.htm>
More information about the wine-devel
mailing list