int aw_bool (AW_ATTRIBUTE a) |
|
aw_bool queries the value of a boolean attribute. A return value of 1 indicates TRUE, and 0 indicates FALSE. Example
if (aw_bool (AW_WORLD_ALLOW_FLYING))
printf ("Flying is allowed in this world\n");
else
printf ("Flying is not allowed in this world\n");
SEE ALSO
|