1 /* types.h: general types for kpathsea.
3 Copyright 1993, 1995, 1996, 2005, 2008 Karl Berry.
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this library; if not, see <http://www.gnu.org/licenses/>. */
18 #ifndef KPATHSEA_TYPES_H
19 #define KPATHSEA_TYPES_H
22 /* NeXT wants to define their own boolean type. */
26 /* `true' and `false' are reserved words in C++. */
32 #endif /* not __cplusplus */
33 #endif /* not HAVE_BOOLEAN */
35 /* The X library (among other things) defines `FALSE' and `TRUE', and so
36 we only want to define them if necessary, for use by application code. */
42 /* The usual null-terminated string. */
45 /* A pointer to constant data. (ANSI says `const string' is
46 `char * const', which is a constant pointer to non-constant data.) */
47 typedef const char *const_string;
49 /* A generic pointer. */
50 typedef void *address;
52 #endif /* not KPATHSEA_TYPES_H */