![]() |
Murl Engine API
Version 2018.3
|
Murl Engine preprocessor defines. More...
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... | |
Murl Engine preprocessor defines.
The global defines should be used to ensure multi-platform compatibility.
#define NULL |
Definition of the NULL pointer value.
#define MURL_DEBUG |
Compiling a debug build.
#define MURL_RELEASE |
Compiling a release build.
#define MURL_RELEASE |
Compiling a release build.
#define MURL_TARGET_CPU_I64 |
Compiling for an Intel 64-bit CPU.
#define MURL_TARGET_CPU_X86 |
Compiling for an Intel 32-bit CPU.
#define MURL_TARGET_CPU_ARM |
Compiling for an Arm 32-bit CPU.
#define MURL_TARGET_CPU_ARM64 |
Compiling for an Arm 64-bit CPU.
#define MURL_TARGET_ARCHITECTURE_64BIT |
Compiling for 64-bit architecture.
#define MURL_TARGET_ARCHITECTURE_32BIT |
Compiling for 32-bit architecture.
#define MURL_ENDIANNESS_LITTLE |
Compiling for little endian architecture.
#define MURL_TARGET_OS_WIN |
Compiling for a Windows system.
#define MURL_TARGET_OS_WIN32 |
Compiling for a Windows (win32 api) desktop system.
#define MURL_TARGET_OS_WIN8 |
Compiling for a Windows 8 modern system.
#define MURL_TARGET_OS_WINPHONE8 |
Compiling for a Windows 8 phone system.
#define MURL_TARGET_OS_IOS |
Compiling for an iOS system.
#define MURL_TARGET_OS_TVOS |
Compiling for a tvOS system.
#define MURL_TARGET_OS_OSX |
Compiling for an OSX system.
#define MURL_TARGET_OS_ANDROID |
Compiling for an Android system.
#define MURL_TARGET_OS_POSIX |
Compiling for a Posix (Linux) system.
#define MURL_TARGET_OS_EMSCRIPTEN |
Compiling to JavaScript/WebGL using Emscripten.
#define MURL_COMPILER_GCC |
GNU Compiler.
#define MURL_COMPILER_XCODE |
Xcode Compiler.
#define MURL_COMPILER_VS |
Visual Studio compiler.
#define MURL_COMPILER_VS2008 |
Visual Studio 2008 compiler.
#define MURL_COMPILER_VS2010 |
Visual Studio 2010 compiler.
#define MURL_COMPILER_VS2012 |
Visual Studio 2012 compiler.
#define MURL_COMPILER_VS2013 |
Visual Studio 2013 compiler.
#define MURL_COMPILER_VS2015 |
Visual Studio 2015 compiler.
#define MURL_COMPILER_EMCC |
Emscripten compiler.
#define MURL_COMPILER_C98 |
Compiling C++98 or newer language dialect.
#define MURL_COMPILER_C11 |
Compiling C++11 or newer language dialect.
#define MURL_COMPILER_C14 |
Compiling C++14 or newer language dialect.
#define MURL_ALIGN_DATA | ( | x, | |
type | |||
) |
Definition for memory alignment.
e.g. defining a 16 byte-aligned struct.
e.g. Instantiate an 8 byte-aligned 32-bit integer.
x | The number of bytes to align. |
type | The struct, union, class, or variable to align. |
#define MURL_PACKED_STRUCT | ( | type | ) |
Definition for a packed structure.
type | The struct, union, class, or variable to pack. |
#define MURL_CDECL |
Definition for the calling convention for C and C++.
e.g. declaring a public function for a library:
#define MURL_CURRENT_FUNCTION |
Definition for the current function signature string.