xapian-core  2.0.0
internaltypes.h
Go to the documentation of this file.
1 
4 /* Copyright (C) 2009,2010,2014,2016 Olly Betts
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, see
18  * <https://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef XAPIAN_INCLUDED_INTERNALTYPES_H
22 #define XAPIAN_INCLUDED_INTERNALTYPES_H
23 
24 #include <cstdint>
25 
26 // The standard marks these types as optional, as an implementation may not
27 // directly support a type of the appropriate width. If there are platforms
28 // we care about which lack them, we could use wider types with some care
29 // around where we read and write them.
30 
31 typedef uint32_t uint4;
32 
33 #endif // XAPIAN_INCLUDED_INTERNALTYPES_H
uint32_t uint4
Definition: internaltypes.h:31