| THM1176InstrumentManager 1.2 Qt Object abstraction for Metrolab THM1176

Loading...
Searching...
No Matches
OSDefines.h
Go to the documentation of this file.
1
4// See https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html
5
6#pragma once
7
8#ifdef _WIN32
9
10 // Definitions
11 #define MTL__FUNCTION_NAME__ __FUNCTION__
12 #define MTL__FUNCTION_SIGNATURE__ __FUNCSIG__
13
14#elif defined(__GNUC__) || defined(__APPLE__)
15
16 // Definitions
17 #define MTL__FUNCTION_NAME__ __FUNCTION__
18 #define MTL__FUNCTION_SIGNATURE__ __PRETTY_FUNCTION__
19
20#endif
21
22//----------------------------------------------------------------------//
23// Basic Types //
24//----------------------------------------------------------------------//
25 typedef char I8;
26 typedef short I16;
27 typedef int I32;
28 typedef long long I64;
29 typedef unsigned char U8;
30 typedef unsigned short U16;
31 typedef unsigned int U32;
32 typedef unsigned long long U64;
33 typedef float F32;
34 typedef double F64;
I8
char I8
Signed byte.
Definition OSDefines.h:25
U64
unsigned long long U64
64-bit unsigned integer.
Definition OSDefines.h:32
U8
unsigned char U8
Unsigned byte.
Definition OSDefines.h:29
F32
float F32
32-bit floating-point number.
Definition OSDefines.h:33
I32
int I32
32-bit signed integer.
Definition OSDefines.h:27
I16
short I16
16-bit signed integer.
Definition OSDefines.h:26
I64
long long I64
64-bit signed integer.
Definition OSDefines.h:28
U32
unsigned int U32
32-bit unsigned integer.
Definition OSDefines.h:31
F64
double F64
64-bit floating-point number.
Definition OSDefines.h:34
U16
unsigned short U16
16-bit unsigned integer.
Definition OSDefines.h:30