Re: [Ctags] why the typedef?
Brought to you by:
dhiebert
From: Jay G. <jay...@ro...> - 2002-11-24 02:10:26
|
Sorry, my bad. self explanitory when you actually stop to think ... it's and ENUM!!!!! he he he. --- Jay Dickon Glanville Today's Fortune: Did you hear that Captain Crunch, Sugar Bear, Tony the Tiger, and Snap, Crackle and Pop were all murdered recently... Police suspect the work of a cereal killer! ----- Original Message ----- From: "Jay Glanville" <jay...@ro...> To: <cta...@li...> Sent: Saturday, November 23, 2002 7:44 PM Subject: [Ctags] why the typedef? > Hello all. > > I'm currently writing my own tag parser. I've come across an interesting > typedef in the examples that I can't quickly see the use of. For example, > in the extending document, in the first swine.c example, there is the > following definition: > > /* DATA DEFINITIONS */ > typedef enum eSwineKinds { > K_DEFINE > } swineKind; > > Now, nowhere else is 'eSwineKinds' or 'swineKind' used in this file. So, > what is this typedef used for, how is it used, who is using it? > > > Thanks > Jay > > PS: Please handle me with kid gloves ... it's been a few years since I've > done C, and it's not like riding a bike. ;-) > > --- > Jay Dickon Glanville > Today's Fortune: > > Children are unpredictable. You never know what inconsistency they're > going to catch you in next. > -- Franklin P. Jones > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Ctags-users mailing list > Cta...@li... > https://lists.sourceforge.net/lists/listinfo/ctags-users |