00001
00002
00003
00004 #ifndef PHX_TYPES_H
00005 #define PHX_TYPES_H
00006
00007 #include <Phx/PhxConfig.h>
00008
00016
00017 #if HAVE_INTTYPES_H
00018 #include <inttypes.h>
00019 #elif HAVE_STDINT_H
00020 #include <stdint.h>
00021 #elif( defined( _MSC_VER ) )
00022 typedef signed char int8_t;
00023 typedef unsigned char uint8_t;
00024 typedef signed short int16_t;
00025 typedef unsigned short uint16_t;
00026 typedef signed long int32_t;
00027 typedef unsigned long uint32_t;
00028 typedef long long int64_t;
00029 typedef unsigned long long uint64_t;
00030 #else
00031 #include <inttypes.h>
00032 #endif
00033
00034
00035 namespace Phx {
00036
00037 #if PHX_DOUBLE_PRECISION
00038 typedef double Real;
00039 #else
00040 typedef float Real;
00041 #endif
00042
00043 };
00044
00045
00046 #include <Phx/Util/PhxExceptions.h>
00047
00048
00049 #include <Phx/Util/PhxTemplates.h>
00050
00051
00052 #include <Phx/Util/PhxString.h>
00053
00054
00055 #include <Phx/Util/PhxPtr.h>
00056 #include <Phx/Util/PhxPtrInterface.h>
00057
00058 #endif
00059