Path: utzoo!attcan!uunet!mstan!amull From: amull@Morgan.COM (Andrew P. Mullhaupt) Newsgroups: comp.lang.c Subject: Re: undefining a typedef Summary: While we're at it... Message-ID: <1460@s8.Morgan.COM> Date: 12 Aug 90 19:06:44 GMT References: <1820006@hpsad.HP.COM> <1990Aug11.230818.2782@zoo.toronto.edu> Organization: Morgan Stanley & Co. NY, NY Lines: 13 In article <1990Aug11.230818.2782@zoo.toronto.edu>, henry@zoo.toronto.edu (Henry Spencer) writes: > ... Typedef is not undoable. For this reason, typedefs have to > be much more carefully coordinated than macros. Speaking of typedefs and macros -- is there any way to get the functionality of the GNU C extension "typeof" in ANSI or UNIX style C? I would settle for being able to declare a variable x as having the same type as variable y where, due to the fact that the code is machine generated, it isn't simple to say what type that variable y has. Later, Andrew Mullhaupt