[Freeciv-Dev] Re: Suggestion: introduce 'bool' type
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 08 Jun 2000, Falk Hueffner wrote:
> Hi,
>
> I think it would be a good idea to introduce a 'bool' type, with
> constants 'true' and 'false'. This would make some code much more
> readable IMHO.
>
> Note C++ already implements this, and the upcoming C standard will,
> too.
>
> If nobody objects, I will write a configure test and add it to
> shared.h.
>
> Falk
It's already there:
http://www.freeciv.org/lxr/source/common/shared.h#L35
just not used in all the code.
-Thue
|
|