Manticore  Version 2.0alpha
Physics of Molecular Clouds
Macros | Typedefs
platform.h File Reference

MathUtils platform identification macros. More...

#include <limits.h>
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DLLSPEC
 
#define INT_MAX   2147483647L
 
#define LONG_MAX   2147483647L
 
#define mu_asm_known
 
#define mu_compiler   "unknown"
 
#define mu_compiler_known
 
#define mu_cpu_known
 
#define MU_MAKESTR(arg)   #arg
 
#define mu_os_known
 
#define MU_VERSTR(num)   MU_MAKESTR(num)
 

Typedefs

typedef signed short int int16
 
typedef signed int int32
 
typedef signed long long int int64
 
typedef signed char int8
 
typedef unsigned short int uint16
 
typedef unsigned int uint32
 
typedef unsigned long long int uint64
 
typedef unsigned char uint8
 

Detailed Description

MathUtils platform identification macros.

Author
Kevin P. Rauch Defines integer types of known (minimum) sizes; failure is possible but unlikely on a modern system. Also defines standard values for CPU and OS type; returns error message if platform is not recognized. Platform is then used to set byte ordering (MU_BIGENDIAN).

Definition in file platform.h.

Macro Definition Documentation

◆ DLLSPEC

#define DLLSPEC

Definition at line 206 of file platform.h.

◆ INT_MAX

#define INT_MAX   2147483647L

Definition at line 31 of file platform.h.

◆ LONG_MAX

#define LONG_MAX   2147483647L

Definition at line 42 of file platform.h.

◆ mu_asm_known

#define mu_asm_known

Definition at line 170 of file platform.h.

◆ mu_compiler

#define mu_compiler   "unknown"

Definition at line 85 of file platform.h.

◆ mu_compiler_known

#define mu_compiler_known

Definition at line 65 of file platform.h.

◆ mu_cpu_known

#define mu_cpu_known

Definition at line 132 of file platform.h.

◆ MU_MAKESTR

#define MU_MAKESTR (   arg)    #arg

Definition at line 61 of file platform.h.

◆ mu_os_known

#define mu_os_known

Definition at line 91 of file platform.h.

◆ MU_VERSTR

#define MU_VERSTR (   num)    MU_MAKESTR(num)

Definition at line 62 of file platform.h.

Typedef Documentation

◆ int16

typedef signed short int int16

Definition at line 27 of file platform.h.

◆ int32

typedef signed int int32

Definition at line 34 of file platform.h.

◆ int64

typedef signed long long int int64

Definition at line 48 of file platform.h.

◆ int8

typedef signed char int8

Definition at line 25 of file platform.h.

◆ uint16

typedef unsigned short int uint16

Definition at line 28 of file platform.h.

◆ uint32

typedef unsigned int uint32

Definition at line 35 of file platform.h.

◆ uint64

typedef unsigned long long int uint64

Definition at line 49 of file platform.h.

◆ uint8

typedef unsigned char uint8

Definition at line 26 of file platform.h.