[ros-dev] STDCALL.._FUNC
Ge van Geldorp
gvg at reactos.com
Wed Dec 8 18:32:33 CET 2004
> From: Alex Ionescu
>
> Why is everyone adding _FUNC to the definitions? I was
> removing them in my new headers because they seem totally
> useless, plus some people told me that they had no point.
> But I just see GvG adding more of them. I don't understand
> what their point is?
The point is that
void STDCALL (*Func)(void);
is wrong. It should be:
void (STDCALL *Func)(void);
This is equivalent to:
void STDCALL_FUNC(*Func)(void);
I don't really like the last form (STDCALL_FUNC), but that's just a personal
preference. I used that form in my last change 'cause it was already used in
the file.
Gé van Geldorp.
More information about the Ros-dev
mailing list