]> git.sur5r.net Git - cc65/blob - src/cc65/util.h
This commit was generated by cvs2svn to compensate for changes in r2,
[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 IsBlank (char c);
21 /* Return true if c is a space, tab or newline */
22
23 int IsQuoteChar (char c);
24 /* Return true if c is a single or double quote */
25
26 int powerof2 (unsigned long val);
27 /* Return the exponent if val is a power of two. Return -1 if val is not a
28  * power of two.
29  */
30
31
32
33 /* End of util.h */
34
35 #endif
36
37
38