Logo Search packages:      
Sourcecode: icu version File versions  Download package

umachine.h File Reference

Basic types and constants for UTF. More...

#include "unicode/ptypes.h"
#include <stddef.h>
#include "unicode/urename.h"
Include dependency graph for umachine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FALSE   0
#define INT16_MAX   ((int16_t)(32767))
#define INT16_MIN   ((int16_t)(-32767-1))
#define INT32_MAX   ((int32_t)(2147483647))
#define INT32_MIN   ((int32_t)(-2147483647-1))
#define INT64_C(c)   c ## LL
#define INT8_MAX   ((int8_t)(127))
#define INT8_MIN   ((int8_t)(-128))
#define TRUE   1
#define U_ALIGN_CODE(n)
#define U_ATTRIBUTE_DEPRECATED
#define U_CAPI   U_CFUNC U_EXPORT
#define U_CDECL_BEGIN
#define U_CDECL_END
#define U_CFUNC   extern
#define U_DEPRECATED   U_CAPI U_ATTRIBUTE_DEPRECATED
#define U_DRAFT   U_CAPI
#define U_HAVE_WCHAR_H   1
#define U_INLINE
#define U_INT64_MAX   ((int64_t)(INT64_C(9223372036854775807)))
#define U_INT64_MIN   ((int64_t)(INT64_C(-9223372036854775807)-1))
#define U_INTERNAL   U_CAPI
#define U_OBSOLETE   U_CAPI
#define U_SIZEOF_UCHAR   2
#define U_SIZEOF_WCHAR_T   4
#define U_STABLE   U_CAPI
#define U_UINT64_MAX   ((uint64_t)(UINT64_C(18446744073709551615)))
#define UINT16_MAX   ((uint16_t)(65535U))
#define UINT32_MAX   ((uint32_t)(4294967295U))
#define UINT64_C(c)   c ## ULL
#define UINT8_MAX   ((uint8_t)(255U))

Typedefs

typedef int8_t UBool
typedef uint16_t UChar
typedef int32_t UChar32

Detailed Description

Basic types and constants for UTF.

Basic types and constants for UTF

This file defines basic types and constants for utf.h to be platform-independent. umachine.h and utf.h are included into utypes.h to provide all the general definitions for ICU. All of these definitions used to be in utypes.h before the UTF-handling macros made this unmaintainable.

Definition in file umachine.h.


Generated by  Doxygen 1.6.0   Back to index