![]() ![]() ![]() ![]() Next: Faster bitwise operators Up: Accessing the mask from Previous: Registering a new type Contents Setting and checking mask statesThe state of the mask at a given point is set using the function:
The state of the mask at a given point can be checked using:
The return value is 1 if the given state_name has been set at the point, or 0 otherwise.
|