[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] [PATCH] real booleans
From: |
Stéphane Payrard |
Subject: |
[Texmacs-dev] [PATCH] real booleans |
Date: |
Thu, 8 Aug 2002 17:39:54 +0200 |
User-agent: |
Mutt/1.4i |
heu, true booleans.
hum. Anyway you got the idea: bool is not #defined to int
If a C++ compiler supports templates, he has to support bools,
so we don't have any reason to keep #defined bools in our sources.
This means replacing FALSE and TRUE by false and true all over
the place, correcting mismatched declaration and definitions
now detected because booleans are not ints anymore.
That buys us the possibility to link to libraries that indeed
use booleans, like Qt.
Probably, I will chase someday #define(s) that should be static consts.
patch attached.
--
stef
patch.realbooleans
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Texmacs-dev] [PATCH] real booleans,
Stéphane Payrard <=