|
From: Hans - D. <dul...@eg...> - 2000-08-16 21:50:22
|
On Wed, 16 Aug 2000, Christophe Prud'homme wrote: > Date: Wed, 16 Aug 2000 17:38:56 -0400 > From: Christophe Prud'homme <pru...@MI...> > Reply-To: cor...@li... > To: cor...@li... > Subject: [Corelinux-develop] comment on corelinux macros > > Hi > > I use CORELINUX_MAP and CORELINUX_VECTOR macros > they are fine but don't you think that it is a brain pain > to remember to swap the name and the type all the time? > > I mean generally we do > > typedef Type newType; > > BTW DECLARE_TYPE is just fine for that > > but in the _MAP and VECTOR macros the arguments are not in the right order. > > Now it is > CORELINUX_VECTOR( NewVector, double) > and IMHO should be > CORELINUX_VECTOR( double, NewVector ) > just for the sake of a coherent behaviour. > > Comments? If coherent is the objective, I agree with you. > Am I missing something? > > regards > C. > > -- Hans Dulimarta, Ph.D. dul...@co... P: 517-432-7589 http://www.egr.msu.edu/~dulimart F: 760-281-7691 http://corelinux.sourceforge.net Elec. & Comp. Engg., Mich. State Univ., E. Lansing, MI 48824 |