Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
June 1999: Re: [Freeciv-Dev] Programing style |
Re: [Freeciv-Dev] Programing style[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> The usual approach is: > > struct build_item { > union bi_thing { > enum unit_type unit; > enum improvement_type improvement; > } bi; > int bi_type; > } Yes, I understand, but that makes me wondert whether using unions is still worthwhile. -- Reinier
|