Typecast of Pointers to Functions
Brian Pellerin
brian at killer.Dallas.TX.US
Wed Mar 29 05:24:26 AEST 1989
I am looking for an equivalent way to specify a typecast of a pointer to
a function other than using typedef. For Example:
typedef int (*FCN_PTR) ();
FCN_PTR fcn_ptr1;
int (*fcn_ptr2) ();
fcn_ptr1 = (FCN_PTR) NULL; /* Typecast using typedef */
fcn_ptr2 = (???????) NULL; /* Do Not Use the typedef. What Goes Here? */
Any Suggestions? Thanks.
...uunet!killer!brian
More information about the Comp.lang.c
mailing list