On Thu, May 17, 2018 at 5:26 PM, Anthony Walter <sys...@gmail.com> wrote:

> I am working with some a glib library that expects gboolean to be positive
> 1 for true, yet FPC emits -1 for true.
>

I'd think that pascal defines true as
  true = not false;
In case of unsigned integers "-1" is not an option

thanks,
Dmitry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to