diff options
author | Simon Ser <contact@emersion.fr> | 2020-03-31 11:42:25 +0200 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-04-10 18:08:46 -0400 |
commit | 4d13cee59a51790cf66d08f79ace13ede75ffd63 (patch) | |
tree | f2131468efac161099d22e62d2f2a4a50395319e /LICENSE | |
parent | 525b48ede795effb6ef61b7caf6ad333393cfd64 (diff) |
Use bitshifts for bitfields
Instead of hardcoded power of 2 values, use bitshifts. This makes the
enums more readable, avoids mistakes, and makes it clear how much of the
int32_t bit space we have left.
While at it, fix other minor style issues.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions