Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Common - Basic Integer Types.


Detailed Description

These definitions will need to be modified on systems where 'char', 'short' and 'int' have sizes different from 8, 16 and 32 bits.

Note, 'int' is assumed to be in 2s complement format and at least 32 bits in size.


Typedefs

typedef unsigned char uint8_t
typedef unsigned short uint16_t
typedef unsigned int uint32_t
typedef ulonglong uint64_t
typedef signed char int8_t
typedef signed short int16_t
typedef signed int int32_t
typedef longlong int64_t
typedef int intptr_t
typedef unsigned int uintptr_t
typedef int64_t intmax_t
typedef uint64_t uintmax_t
typedef uintptr_t size_t
typedef intptr_t ptrdiff_t


Typedef Documentation

typedef unsigned char uint8_t
 

An 8 bit unsigned integer

Definition at line 141 of file common.h.

typedef unsigned short uint16_t
 

An 16 bit unsigned integer

Definition at line 142 of file common.h.

typedef unsigned int uint32_t
 

An 32 bit unsigned integer

Definition at line 143 of file common.h.

typedef ulonglong uint64_t
 

An 64 bit unsigned integer

Definition at line 144 of file common.h.

typedef signed char int8_t
 

An 8 bit signed integer (2s complement)

Definition at line 145 of file common.h.

typedef signed short int16_t
 

An 16 bit signed integer (2s complement)

Definition at line 146 of file common.h.

typedef signed int int32_t
 

An 32 bit signed integer (2s complement)

Definition at line 147 of file common.h.

typedef longlong int64_t
 

An 64 bit signed integer (2s complement)

Definition at line 148 of file common.h.

typedef int intptr_t
 

An signed integer of the same size as a pointer type

Definition at line 149 of file common.h.

typedef unsigned int uintptr_t
 

An unsigned integer of the same size as a pointer type

Definition at line 150 of file common.h.

typedef int64_t intmax_t
 

Largest signed integer type

Definition at line 151 of file common.h.

typedef uint64_t uintmax_t
 

Largest unsigned integer type

Definition at line 152 of file common.h.

typedef uintptr_t size_t
 

A size of an object or memory region

Definition at line 153 of file common.h.

typedef intptr_t ptrdiff_t
 

A signed integer which can hold the different between two pointer

Definition at line 154 of file common.h.


Generated by  doxygen 1.4.4