This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: PR 5942


 > From: Tom Tromey <tromey@redhat.com>
 > 
 > >>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
 > 
 > Kaveh> Please consider using ARRAY_SIZE(ctxp->modifier_ctx) (defined in
 > Kaveh> libiberty.h) instead of an explicit sizeof() / sizeof().
 > Kaveh> IMHO, ARRAY_SIZE is much more readable.
 > 
 > On the branch I used what appeared to be the prevailing local style
 > (i.e., sizeof/sizeof was used in the same function).
 > On the trunk I used ARRAY_SIZE.
 > Tom

Ok great.  Thanks.

--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Global Services


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]