Re: More questions about casting function pointers ..





Barry Schwarz wrote:

On Wed, 31 Aug 2005 00:47:06 +0000 (UTC), Alfonso Morra
<sweet-science@xxxxxxxxxxxx> wrote:


Hi,

I have two func ptr prototypes declared as :

typedef void (*VFP)(void) ;
typedef int(MyCallback*)(enum_1, enum2, int, void*) ;


I hope you meant (*MyCallback).


Yup. Typo. sorry about that should be :

typedef int (*MyCallback)(enum_1, enum2, int, void*) ;



<<Remove the del for email>>

.