Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!twwells!bill From: bill@twwells.com (T. William Wells) Newsgroups: comp.std.c Subject: Re: Question about function pointers & prototypes Message-ID: <1989Aug28.174441.24540@twwells.com> Date: 28 Aug 89 17:44:41 GMT References: <1611@agora.UUCP> <19278@mimsy.UUCP> <10835@smoke.BRL.MIL> Organization: None, Ft. Lauderdale, FL Lines: 16 In article <10835@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes: : In article <19278@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: : >The proposed standard seems (meaning `you should check this yourself') : >to require that all function pointers `fit' in some other function pointer : >storage cell. : : I don't recall any constraints that would imply this. Pointers to : functions are far less "flexible" than object pointers. One can cast any function pointer to another and back again, and use the result. I've buried my dpANS so I can't quote chapter and verse but this was discussed a while ago here. --- Bill { uunet | novavax | ankh | sunvice } !twwells!bill bill@twwells.com