ICU 60.2 60.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

Macros | Typedefs
ptypes.h File Reference

C API: Definitions of integer types of various widths. More...

`#include <stddef.h>`
`#include "unicode/platform.h"`

Go to the source code of this file.

## Macros
#define | __STDC_LIMIT_MACROS
| According to the Linux stdint.h, the ISO C99 standard specifies that in C++ implementations macros like INT32_MIN and UINTPTR_MAX should only be defined if explicitly requested. More...

## Typedefs
typedef signed char | int8_t
typedef unsigned char | uint8_t
typedef signed short | int16_t
typedef unsigned short | uint16_t
typedef signed int | int32_t
typedef unsigned int | uint32_t
typedef signed long long | int64_t
typedef unsigned long long | uint64_t

## Detailed Description

C API: Definitions of integer types of various widths.

Definition in file ptypes.h.

## Macro Definition Documentation

#define __STDC_LIMIT_MACROS

According to the Linux stdint.h, the ISO C99 standard specifies that in C++ implementations macros like INT32_MIN and UINTPTR_MAX should only be defined if explicitly requested.

We need to define __STDC_LIMIT_MACROS before including stdint.h in C++ code that uses such limit macros.

Internal:
  Do not use. This API is for internal use only.

Definition at line 39 of file ptypes.h.