Re: mergine #define NUMS into enum {}



On 04/18/2003, Kang Jeong-Hee wrote:
> enum statement begins with 0, and the end of elements gets the number
> of elements.
> many code rely on this functionality.
> 
> so I suggest to change.

Agreed: one less way to break Balsa!  Of course, having 
LIBBALSA_NUM_CODESETS in the enum would break if we ever used the `name 
= value' form to override the default sequence...

Committed--thanks!

Peter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]