MPMA Framework 0.4
Types.h File Reference

Definition of basic data types, so there is no ambiguity between different platforms and compilers. More...

Go to the source code of this file.


Detailed Description

Definition of basic data types, so there is no ambiguity between different platforms and compilers.

The following types are defined:
uint8 - 8 bit unsigned integer
sint8 - 8 bit signed integer
uint16 - 16 bit unsigned integer
sint16 - 16 bit signed integer
uint32 - 32 bit unsigned integer
sint32 - 32 bit signed integer
uint64 - 64 bit unsigned integer
sint64 - 64 bit signed integer
nuint - unsigned integer of the size native to the current platform
nsint - signed integer of the size native to the current platform

POINTER_SIZE - number of bytes needed to store a pointer

The following data types are assumed for all platforms:
char - 8 bit signed int (sint8)
float - 32 bit floating point number
double - 64 bit floating point number

The following storage specifiers are defined:
THREAD_LOCAL - variable is allocated from thread-local storage

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends