Hi,
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?
Best regards, Alex Ionescu
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.