#include "unicode/platform.h"
#include "unicode/urename.h"
Go to the source code of this file.
Defines | |
#define | U_CFUNC extern |
This is used in a declaration of a library private ICU C function. | |
#define | U_CDECL_BEGIN |
This is used to begin a declaration of a library private ICU C API. | |
#define | U_CDECL_END |
This is used to end a declaration of a library private ICU C API ICU 2.4. | |
#define | U_NAMESPACE_BEGIN |
This is used to begin a declaration of a public ICU C++ API. | |
#define | U_NAMESPACE_END |
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces, this does nothing. | |
#define | U_NAMESPACE_USE |
This is used to specify that the rest of the code uses the public ICU C++ API namespace. | |
#define | U_NAMESPACE_QUALIFIER |
This is used to qualify that a function or class is part of the public ICU C++ API namespace. | |
#define | U_CAPI U_CFUNC U_EXPORT |
This is used to declare a function as a public ICU C API ICU 2.0. | |
#define | INT8_MIN ((int8_t)(-128)) |
The smallest value an 8 bit signed integer can hold ICU 2.0. | |
#define | INT16_MIN ((int16_t)(-32767-1)) |
The smallest value a 16 bit signed integer can hold ICU 2.0. | |
#define | INT32_MIN ((int32_t)(-2147483647-1)) |
The smallest value a 32 bit signed integer can hold ICU 2.0. | |
#define | INT8_MAX ((int8_t)(127)) |
The largest value an 8 bit signed integer can hold ICU 2.0. | |
#define | INT16_MAX ((int16_t)(32767)) |
The largest value a 16 bit signed integer can hold ICU 2.0. | |
#define | INT32_MAX ((int32_t)(2147483647)) |
The largest value a 32 bit signed integer can hold ICU 2.0. | |
#define | UINT8_MAX ((uint8_t)(255U)) |
The largest value an 8 bit unsigned integer can hold ICU 2.0. | |
#define | UINT16_MAX ((uint16_t)(65535U)) |
The largest value a 16 bit unsigned integer can hold ICU 2.0. | |
#define | UINT32_MAX ((uint32_t)(4294967295U)) |
The largest value a 32 bit unsigned integer can hold ICU 2.0. | |
#define | INT64_C(c) c ## LL |
Provides a platform independent way to specify a signed 64-bit integer constant. | |
#define | UINT64_C(c) c ## ULL |
Provides a platform independent way to specify an unsigned 64-bit integer constant. | |
#define | U_INT64_MIN ((int64_t)(INT64_C(-9223372036854775807)-1)) |
The smallest value a 64 bit signed integer can hold ICU 2.8. | |
#define | U_INT64_MAX ((int64_t)(INT64_C(9223372036854775807))) |
The largest value a 64 bit signed integer can hold ICU 2.8. | |
#define | U_UINT64_MAX ((uint64_t)(UINT64_C(18446744073709551615))) |
The largest value a 64 bit unsigned integer can hold ICU 2.8. | |
#define | TRUE 1 |
The TRUE value of a UBool ICU 2.0. | |
#define | FALSE 0 |
The FALSE value of a UBool ICU 2.0. | |
#define | U_ALIGN_CODE(n) |
This is used to align code fragments to a specific byte boundary. | |
Typedefs | |
typedef int8_t | UBool |
The ICU boolean type ICU 2.0. |
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.
|
Provides a platform independent way to specify a signed 64-bit integer constant. note: may be wrong for some 64 bit platforms - ensure your compiler provides INT64_C ICU 2.8 |
|
This is used to align code fragments to a specific byte boundary. This is useful for getting consistent performance test results. For internal use only.
|
|
This is used to begin a declaration of a library private ICU C API. ICU 2.4 |
|
This is used in a declaration of a library private ICU C function. ICU 2.4 |
|
This is used to begin a declaration of a public ICU C++ API. If the compiler doesn't support namespaces, this does nothing. ICU 2.4 |
|
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces, this does nothing. ICU 2.4 |
|
This is used to qualify that a function or class is part of the public ICU C++ API namespace. If the compiler doesn't support namespaces, this does nothing. ICU 2.4 |
|
This is used to specify that the rest of the code uses the public ICU C++ API namespace. If the compiler doesn't support namespaces, this does nothing. ICU 2.4 |
|
Provides a platform independent way to specify an unsigned 64-bit integer constant. note: may be wrong for some 64 bit platforms - ensure your compiler provides UINT64_C ICU 2.8 |