This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
/* |
| 2 |
Schedtool |
| 3 |
(c) by Freek <email_undisclosed> |
| 4 |
|
| 5 |
This program is free software; you can redistribute it and/or modify |
| 6 |
it under the terms of the GNU General Public License as published by |
| 7 |
the Free Software Foundation version 2 of the License. |
| 8 |
|
| 9 |
This program is distributed in the hope that it will be useful, |
| 10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
GNU General Public License for more details. |
| 13 |
|
| 14 |
Please see the file LICENSE for details. |
| 15 |
|
| 16 |
*/ |
| 17 |
|
| 18 |
/* contains bit-fiddeling */ |
| 19 |
|
| 20 |
inline static int mode_set(int x, int try) |
| 21 |
{ |
| 22 |
return((x & try) == try); |
| 23 |
} |