In our previous episode, Bernd said: > Am 22. April 2012 17:39 schrieb Marco van de Voort <mar...@stack.nl>: > > gboolean, > > like Pascal booleans, are only true =1. > > Just out of curiosity, how can they enforce this for the C compiler > with only some definitions in a header file?
I don't know, I don't use GTK with C. It could be that they simply don't, and leave it up to the programmer to proper compare with gfalse and gtrue. I only know that in some cases the longbool situation went wrong, and while that was fixable by doing somebool=gtrue, it had other problems. I was halfway fixing with gtrue when (IIRC) Florian committed the boolean<xx> stuff. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal