Prototype for Functions pointers in Structures
Terry Franklin Byrum
byrum at cs.odu.edu
Tue Apr 11 00:51:28 AEST 1989
Here is a question for all you pANS gurus. How do you define a prototype
for a pointer to a function contained within a structure?
e.g. struct _fns{
int foo;
int (*fnsptr)();
}fns;
My guess is:
int (*fns.fnsptr)(void);
but MSC 5.1 gags ...
Thanks,
Frank
Frank Byrum, BROOKS Financial Systems, Suffolk VA, (804)539-7202 1st Law of SE
INET:byrum at cs.odu.edu UUCP:..!sun!xanth!{byrum,brooks!frank} Semper Sic Factum
--
Inventions have long since reached their limit --
and I see no hope for further developments.
- Julius Frontinus, world famous engineer, Rome, 10 AD
First Law of Software Eng: | Terry Franklin (Frank) Byrum
Semper Sic Factum | BROOKS Financial Systems, Inc.
___ | INET: byrum at cs.odu.edu
/__ _. __. _ _ /_ | UUCP: ...!sun!xanth!brooks!frank
/ _/ \_(_/|_|\|_/ \ | DISCLAIMER: No one listens anyway!
More information about the Comp.lang.c
mailing list