1 #ifndef _WIMLIB_TYPES_H
2 #define _WIMLIB_TYPES_H
4 #include "wimlib_tchar.h"
11 /* Unsigned integer types of exact size in bits */
17 /* Signed integer types of exact size in bits */
23 /* Unsigned little endian types of exact size */
25 typedef uint16_t le16;
26 typedef uint32_t le32;
27 typedef uint64_t le64;
29 /* Signed little endian types of exact size (declare as unsigned to avoid sign
30 * extension on big-endian architectures) */
32 typedef uint16_t sle16;
33 typedef uint32_t sle32;
34 typedef uint64_t sle64;
37 /* A pointer to 'utf16lechar' indicates a UTF-16LE encoded string */
38 typedef u16 utf16lechar;
40 #ifndef WIMLIB_WIMSTRUCT_DECLARED
41 typedef struct WIMStruct WIMStruct;
42 # define WIMLIB_WIMSTRUCT_DECLARED