[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ref manual; boolean results on c api
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 30 May 2012 16:04:13 -0300
> The (very minor) point is; the manual is not consistent. And now we managed
> to advance the nitpicking to yet another level (which is noteworthy by
> itself).
In C, there are operations that return a boolean and there are
operations that return 0/1, the difference being that not all trues
are garanteed to be 1. That is, some operations garantee that the true
result is 1, others do not.
(The manual is still not completely consistent; some operations
have a true=1 but do not say so.)
-- Roberto