Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!necntc!ima!haddock!karl From: karl@haddock.UUCP (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Function prototypes versus open() Message-ID: <657@haddock.UUCP> Date: Tue, 30-Jun-87 15:11:59 EDT Article-I.D.: haddock.657 Posted: Tue Jun 30 15:11:59 1987 Date-Received: Wed, 1-Jul-87 06:27:40 EDT References: <18346@ucbvax.BERKELEY.EDU> <8042@utzoo.UUCP> <2210@hoptoad.uucp> <817@mcgill-vision.UUCP> <22196@sun.uucp> Reply-To: karl@haddock.ISC.COM (Karl Heuer) Organization: Interactive Systems, Boston Lines: 14 In article <22196@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: ["temporary" is a union of different flavors of functions] >temporary.three_argument = fxn; >dispatcher(..., temporary); This makes a good case for the cast-into-union feature on my wishlist. >Yes, this may be ugly, but it's type-correct, and may even be necessary >in some implementations. Yeah. Of course people won't use it if they "know" it's overkill on their vax. :-( Fortunately, the situation in question doesn't come up very often. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint