]> git.sur5r.net Git - cc65/blob - src/cc65/util.h
bfbe1e04eceb55ecc224d9993a6d534adbfe744d
[cc65] / src / cc65 / util.h
1 /*
2  * util.h
3  *
4  * Ullrich von Bassewitz, 18.06.1998
5  */
6
7
8
9 #ifndef UTIL_H
10 #define UTIL_H
11
12
13
14 /*****************************************************************************/
15 /*                                   code                                    */
16 /*****************************************************************************/
17
18
19
20 int IsQuoteChar (char c);
21 /* Return true if c is a single or double quote */
22
23 int powerof2 (unsigned long val);
24 /* Return the exponent if val is a power of two. Return -1 if val is not a
25  * power of two.
26  */
27
28
29
30 /* End of util.h */
31
32 #endif
33
34
35