Help, I need some(body!) prototyping
Damian Cugley
pdc at otter.hple.hp.com
Fri Sep 2 05:53:02 AEST 1988
Kristian Wedberg: d85_kitte at tekn01.chalmers.se
> [...] I get something TYPES DON'T MATCH something.
LONG (*filter)(); `pointer to func giving LONG'
||
\||/ Delete the identifier ...
\/
LONG (* )()
||
\||/ ... and neaten it up
\/
LONG (*)()
giving -
GLOBAL LONG FileRequester(..., LONG(*)(), ...);
(`LONG*()' would be the type of foo in:
LONG *(foo()) `func giving pointer to LONG')
pdc
--
/-------------------\/-------------------------\/------------------------\
| Damian Cugley =@= || pdc at hplb.lb.hp.co.uk || ...!mcvax!ukc!hplb!pdc |
| HPLabs Bristol UK || pdc%otter at hplabs.HP.COM || ...!hplabs!otter!pdc |
\-------------------/\-------------------------/\------------------------/
(#disclaim <net/std.h> 'His feet are the wrong size for his shoes.')
More information about the Comp.lang.c
mailing list