Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

umachine.h File Reference

Basic types and constants for UTF. More...

#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_MIN   ((int64_t)(-9223372036854775807-1))
 The smallest value a 64 bit signed integer can hold ICU 2.0.

#define INT64_MAX   ((int64_t)(9223372036854775807))
 The largest value a 64 bit signed integer can hold ICU 2.0.

#define UINT64_MAX   ((uint64_t)(18446744073709551615))
 The largest value a 64 bit unsigned integer can hold ICU 2.0.

#define INTMAX_MIN   INT64_MIN
#define INTMAX_MAX   INT64_MAX
#define UINTMAX_MAX   UINT64_MAX
#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.


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.


Define Documentation

#define U_ALIGN_CODE  ) 
 

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.

#define U_CDECL_BEGIN
 

This is used to begin a declaration of a library private ICU C API.

ICU 2.4

#define U_CFUNC   extern
 

This is used in a declaration of a library private ICU C function.

ICU 2.4

#define U_NAMESPACE_BEGIN
 

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

#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.

ICU 2.4

#define U_NAMESPACE_QUALIFIER
 

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

#define U_NAMESPACE_USE
 

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


Generated on Wed Sep 3 17:47:13 2003 for ICU 2.6 by doxygen 1.3.2