Murl Defines

Murl Engine preprocessor defines. More...

Collaboration diagram for Murl Defines:

Macros

#define NULL
 Definition of the NULL pointer value. More...
 
#define MURL_DEBUG
 Compiling a debug build. More...
 
#define MURL_RELEASE
 Compiling a release build. More...
 
#define MURL_RELEASE
 Compiling a release build. More...
 
#define MURL_TARGET_CPU_I64
 Compiling for an Intel 64-bit CPU. More...
 
#define MURL_TARGET_CPU_X86
 Compiling for an Intel 32-bit CPU. More...
 
#define MURL_TARGET_CPU_ARM
 Compiling for an Arm 32-bit CPU. More...
 
#define MURL_TARGET_CPU_ARM64
 Compiling for an Arm 64-bit CPU. More...
 
#define MURL_TARGET_ARCHITECTURE_64BIT
 Compiling for 64-bit architecture. More...
 
#define MURL_TARGET_ARCHITECTURE_32BIT
 Compiling for 32-bit architecture. More...
 
#define MURL_ENDIANNESS_LITTLE
 Compiling for little endian architecture. More...
 
#define MURL_TARGET_OS_WIN
 Compiling for a Windows system. More...
 
#define MURL_TARGET_OS_WIN32
 Compiling for a Windows (win32 api) desktop system. More...
 
#define MURL_TARGET_OS_WIN8
 Compiling for a Windows 8 modern system. More...
 
#define MURL_TARGET_OS_WINPHONE8
 Compiling for a Windows 8 phone system. More...
 
#define MURL_TARGET_OS_IOS
 Compiling for an iOS system. More...
 
#define MURL_TARGET_OS_TVOS
 Compiling for a tvOS system. More...
 
#define MURL_TARGET_OS_OSX
 Compiling for an OSX system. More...
 
#define MURL_TARGET_OS_ANDROID
 Compiling for an Android system. More...
 
#define MURL_TARGET_OS_POSIX
 Compiling for a Posix (Linux) system. More...
 
#define MURL_TARGET_OS_EMSCRIPTEN
 Compiling to JavaScript/WebGL using Emscripten. More...
 
#define MURL_COMPILER_GCC
 GNU Compiler. More...
 
#define MURL_COMPILER_XCODE
 Xcode Compiler. More...
 
#define MURL_COMPILER_VS
 Visual Studio compiler. More...
 
#define MURL_COMPILER_VS2008
 Visual Studio 2008 compiler. More...
 
#define MURL_COMPILER_VS2010
 Visual Studio 2010 compiler. More...
 
#define MURL_COMPILER_VS2012
 Visual Studio 2012 compiler. More...
 
#define MURL_COMPILER_VS2013
 Visual Studio 2013 compiler. More...
 
#define MURL_COMPILER_VS2015
 Visual Studio 2015 compiler. More...
 
#define MURL_COMPILER_EMCC
 Emscripten compiler. More...
 
#define MURL_COMPILER_C98
 Compiling C++98 or newer language dialect. More...
 
#define MURL_COMPILER_C11
 Compiling C++11 or newer language dialect. More...
 
#define MURL_COMPILER_C14
 Compiling C++14 or newer language dialect. More...
 
#define MURL_ALIGN_DATA(x, type)
 Definition for memory alignment. More...
 
#define MURL_PACKED_STRUCT(type)
 Definition for a packed structure. More...
 
#define MURL_CDECL
 Definition for the calling convention for C and C++. More...
 
#define MURL_CURRENT_FUNCTION
 Definition for the current function signature string. More...
 

Detailed Description

Murl Engine preprocessor defines.

The global defines should be used to ensure multi-platform compatibility.

Macro Definition Documentation

◆ NULL

#define NULL

Definition of the NULL pointer value.

◆ MURL_DEBUG

#define MURL_DEBUG

Compiling a debug build.

◆ MURL_RELEASE [1/2]

#define MURL_RELEASE

Compiling a release build.

◆ MURL_RELEASE [2/2]

#define MURL_RELEASE

Compiling a release build.

◆ MURL_TARGET_CPU_I64

#define MURL_TARGET_CPU_I64

Compiling for an Intel 64-bit CPU.

◆ MURL_TARGET_CPU_X86

#define MURL_TARGET_CPU_X86

Compiling for an Intel 32-bit CPU.

◆ MURL_TARGET_CPU_ARM

#define MURL_TARGET_CPU_ARM

Compiling for an Arm 32-bit CPU.

◆ MURL_TARGET_CPU_ARM64

#define MURL_TARGET_CPU_ARM64

Compiling for an Arm 64-bit CPU.

◆ MURL_TARGET_ARCHITECTURE_64BIT

#define MURL_TARGET_ARCHITECTURE_64BIT

Compiling for 64-bit architecture.

◆ MURL_TARGET_ARCHITECTURE_32BIT

#define MURL_TARGET_ARCHITECTURE_32BIT

Compiling for 32-bit architecture.

◆ MURL_ENDIANNESS_LITTLE

#define MURL_ENDIANNESS_LITTLE

Compiling for little endian architecture.

◆ MURL_TARGET_OS_WIN

#define MURL_TARGET_OS_WIN

Compiling for a Windows system.

◆ MURL_TARGET_OS_WIN32

#define MURL_TARGET_OS_WIN32

Compiling for a Windows (win32 api) desktop system.

◆ MURL_TARGET_OS_WIN8

#define MURL_TARGET_OS_WIN8

Compiling for a Windows 8 modern system.

◆ MURL_TARGET_OS_WINPHONE8

#define MURL_TARGET_OS_WINPHONE8

Compiling for a Windows 8 phone system.

◆ MURL_TARGET_OS_IOS

#define MURL_TARGET_OS_IOS

Compiling for an iOS system.

◆ MURL_TARGET_OS_TVOS

#define MURL_TARGET_OS_TVOS

Compiling for a tvOS system.

◆ MURL_TARGET_OS_OSX

#define MURL_TARGET_OS_OSX

Compiling for an OSX system.

◆ MURL_TARGET_OS_ANDROID

#define MURL_TARGET_OS_ANDROID

Compiling for an Android system.

◆ MURL_TARGET_OS_POSIX

#define MURL_TARGET_OS_POSIX

Compiling for a Posix (Linux) system.

◆ MURL_TARGET_OS_EMSCRIPTEN

#define MURL_TARGET_OS_EMSCRIPTEN

Compiling to JavaScript/WebGL using Emscripten.

◆ MURL_COMPILER_GCC

#define MURL_COMPILER_GCC

GNU Compiler.

◆ MURL_COMPILER_XCODE

#define MURL_COMPILER_XCODE

Xcode Compiler.

◆ MURL_COMPILER_VS

#define MURL_COMPILER_VS

Visual Studio compiler.

◆ MURL_COMPILER_VS2008

#define MURL_COMPILER_VS2008

Visual Studio 2008 compiler.

◆ MURL_COMPILER_VS2010

#define MURL_COMPILER_VS2010

Visual Studio 2010 compiler.

◆ MURL_COMPILER_VS2012

#define MURL_COMPILER_VS2012

Visual Studio 2012 compiler.

◆ MURL_COMPILER_VS2013

#define MURL_COMPILER_VS2013

Visual Studio 2013 compiler.

◆ MURL_COMPILER_VS2015

#define MURL_COMPILER_VS2015

Visual Studio 2015 compiler.

◆ MURL_COMPILER_EMCC

#define MURL_COMPILER_EMCC

Emscripten compiler.

◆ MURL_COMPILER_C98

#define MURL_COMPILER_C98

Compiling C++98 or newer language dialect.

◆ MURL_COMPILER_C11

#define MURL_COMPILER_C11

Compiling C++11 or newer language dialect.

◆ MURL_COMPILER_C14

#define MURL_COMPILER_C14

Compiling C++14 or newer language dialect.

◆ MURL_ALIGN_DATA

#define MURL_ALIGN_DATA (   x,
  type 
)

Definition for memory alignment.

e.g. defining a 16 byte-aligned struct.

struct MyStruct
{
UInt64 mMyValue1;
UInt32 mMyValue2;
});

e.g. Instantiate an 8 byte-aligned 32-bit integer.

MURL_ALIGN_DATA(8, UInt32 myInteger);
Parameters
xThe number of bytes to align.
typeThe struct, union, class, or variable to align.

◆ MURL_PACKED_STRUCT

#define MURL_PACKED_STRUCT (   type)

Definition for a packed structure.

struct MyStruct
{
UInt64 mMyValue1;
UInt32 mMyValue2;
});
Parameters
typeThe struct, union, class, or variable to pack.

◆ MURL_CDECL

#define MURL_CDECL

Definition for the calling convention for C and C++.

e.g. declaring a public function for a library:

void MURL_CDECL MyFunction(UInt32 myParameters);

◆ MURL_CURRENT_FUNCTION

#define MURL_CURRENT_FUNCTION

Definition for the current function signature string.


Copyright © 2011-2018 Spraylight GmbH.