Le jeudi 13 novembre 2008 à 15:09 +0800, 韦锴 a écrit :
> CLUTTER_ACTOR_IS_REACTIVE (actor), it is neither TRUE nor FALSE in
> glib 's definition.

If you look at the definition of TRUE, you'll find out that it is 
!FALSE, and you'll find out that FALSE is 0. Therefore, comparing
CLUTTER_ACTOR_IS_REACTIVE (actor) to TRUE or FALSE won't be a problem as
in C any value > or < 0 is considered true, and 0 is false.

gboolean exists because there are no booleans in C as in C++.

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to