[fpc-pascal] header translation question: I need an int sized boolean
Bernd
prof7bit at googlemail.com
Sun Apr 22 18:46:12 CEST 2012
Am 22. April 2012 17:39 schrieb Marco van de Voort <marcov at 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? Isn't it just an alias
for int? what if i just write
gboolean something;
something = 2;
if (something) {
...
}
More information about the fpc-pascal
mailing list