[1/3] shlwapi/tests: Move the function pointers to the string test functions where they are initialized and used.
Alexandre Julliard
julliard at winehq.org
Mon Mar 3 05:06:48 CST 2008
Francois Gouget <fgouget at free.fr> writes:
> It makes no sense to declare the function pointers globally, but then
> only initialiaze them in one function or another. This is a recipe for
> adding code that calls the function pointer elsewhere... and before it
> has been initialized of course.
Actually the reason for declaring them globally is that 2.x gcc versions
sometimes crash on local WINAPI function pointers.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list