Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _XN_PLATFORM_LINUX_X86_H_
00027 #define _XN_PLATFORM_LINUX_X86_H_
00028
00029
00030
00031
00032
00033
00034
00035
00036 #include <unistd.h>
00037 #include <stdlib.h>
00038 #include <stdio.h>
00039 #include <string.h>
00040 #include <assert.h>
00041
00042
00043
00044
00045 #define XN_PLATFORM XN_PLATFORM_LINUX_X86
00046 #define XN_PLATFORM_STRING "Linux-x86"
00047
00048
00049
00050
00051 #define XN_PLATFORM_ENDIAN_TYPE XN_PLATFORM_IS_LITTLE_ENDIAN
00052 #define XN_PLATFORM_VAARGS_TYPE XN_PLATFORM_USE_GCC_VAARGS_STYLE
00053 #define XN_PLATFORM_SUPPORTS_DYNAMIC_LIBS 1
00054
00055
00056
00057
00059 typedef unsigned int XnBool;
00060
00062 typedef char XnChar;
00064 typedef unsigned char XnUChar;
00065
00067 typedef wchar_t XnWChar;
00068
00070 typedef char XnInt8;
00072 typedef unsigned char XnUInt8;
00073
00075 typedef short XnInt16;
00077 typedef unsigned short XnUInt16;
00078
00080 typedef int XnInt32;
00082 typedef unsigned int XnUInt32;
00083
00085 typedef long long XnInt64;
00087 typedef unsigned long long XnUInt64;
00088
00090 typedef int XnInt;
00092 typedef unsigned int XnUInt;
00093
00095 typedef float XnFloat;
00097 typedef double XnDouble;
00098
00100 typedef void (*XnFarProc)(void *);
00101
00103 typedef size_t XnSizeT;
00104
00106 #define XN_MAX_UINT8 255
00107
00108 #define XN_MAX_UINT16 65535
00109
00110 #define XN_MAX_UINT32 4294967295UL
00111
00112 #define XN_MAX_UINT64 18446744073709551615ULL
00113
00115 #define XN_MIN_INT8 -128
00116
00117 #define XN_MIN_INT16 -32768
00118
00119 #define XN_MIN_INT32 -2147483648
00120
00121 #define XN_MIN_INT64 -9223372036854775808LL
00122
00124 #define XN_MAX_INT8 127
00125
00126 #define XN_MAX_INT16 32767
00127
00128 #define XN_MAX_INT32 2147483647
00129
00130 #define XN_MAX_INT64 9223372036854775807LL
00131
00132
00133
00134
00136 #define XN_DEFAULT_MEM_ALIGN 16
00137
00139 #define XN_THREAD_STATIC __thread
00140
00141
00142
00143
00145 #define XN_FILE_MAX_PATH 256
00146
00147
00148
00149
00151 #define XN_STDCALL __stdcall
00152
00154 #define XN_CALLBACK_TYPE
00155
00157 #define XN_C_DECL
00158
00159
00160
00161
00163 #define XN_TIMESTAMP __DATE__ " " __TIME__
00164
00166 #define XN_STRINGIFY(n) XN_STRINGIFY_HELPER(n)
00167 #define XN_STRINGIFY_HELPER(n) #n
00168
00170 #define XN_ASSERT(x)
00171
00172
00173
00174
00176 #define XN_API_EXPORT __attribute__ ((visibility("default")))
00177
00179 #define XN_API_IMPORT
00180
00182 #define XN_API_DEPRECATED(msg) __attribute__((deprecated))
00183
00185 #define XN_API_EXPORT_INIT()
00186
00187 #endif //_XN_PLATFORM_LINUX_X86_H_
00188