[Freeciv-Dev] [RFC] x & (1u << y)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
There are a lot of constructs like "x & (1u << y)" in the code:
- city options, flags and roles
- shared vision
- embassy
- claims
- gotohand
- known and sent in maphand
These all are used as a bool but aren't a bool. Should they be wrapped
with BOOL_VAL, a new test_bit or with functions specific to the
domains above?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"This is Linux Country. On a quiet night, you can hear Windows reboot."
- [Freeciv-Dev] [RFC] x & (1u << y),
Raimar Falke <=
|
|