THM1176InstrumentDriver  1.0
C++ API for Metrolab THM1176
OSDefines.h
Go to the documentation of this file.
1 // 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 #endif
15 #if defined(__GNUC__) || defined(__APPLE__)
16 
17  // Definitions
18  #define MTL__FUNCTION_NAME__ __FUNCTION__
19  #define MTL__FUNCTION_SIGNATURE__ __PRETTY_FUNCTION__
20 
21 #endif
22 
23 //----------------------------------------------------------------------//
24 // Basic Types //
25 //----------------------------------------------------------------------//
26 typedef char I8;
27 typedef short I16;
28 typedef int I32;
29 typedef long long I64;
30 typedef unsigned char U8;
31 typedef unsigned short U16;
32 typedef unsigned int U32;
33 typedef unsigned long long U64;
34 typedef float F32;
35 typedef double F64;
F32
float F32
32-bit floating-point number.
Definition: OSDefines.h:34
U64
unsigned long long U64
64-bit unsigned integer.
Definition: OSDefines.h:33
I16
short I16
16-bit signed integer.
Definition: OSDefines.h:27
I64
long long I64
64-bit signed integer.
Definition: OSDefines.h:29
I32
int I32
32-bit signed integer.
Definition: OSDefines.h:28
U8
unsigned char U8
Unsigned byte.
Definition: OSDefines.h:30
U16
unsigned short U16
16-bit unsigned integer.
Definition: OSDefines.h:31
I8
char I8
Signed byte.
Definition: OSDefines.h:26
F64
double F64
64-bit floating-point number.
Definition: OSDefines.h:35
U32
unsigned int U32
32-bit unsigned integer.
Definition: OSDefines.h:32