In our previous episode, Bernd said: > I have this from the GLIB heads: > > typedef int gint; > typedef gint gboolean; > > Now I need a few packed records with such gboolean types in them. On > my i386 I am now just using
That's afaik a wrong translation. longbool are true <>0, while gboolean, like Pascal booleans, are only true =1. FPC 2.6.0+ introduced boolean8/16/32/64 types for this. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal