Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] Suggestion: introduce 'bool' type
Home

[Freeciv-Dev] Suggestion: introduce 'bool' type

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Suggestion: introduce 'bool' type
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 08 Jun 2000 12:32:14 +0200

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




[Prev in Thread] Current Thread [Next in Thread]