![]() |
Murl Engine API
Version 2025.1
|
Murl Engine preprocessor defines. More...
Macros | |
| #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_VS2015 |
| Visual Studio 2015 compiler. | |
| #define | MURL_COMPILER_VS2017 |
| Visual Studio 2017 compiler. | |
| #define | MURL_COMPILER_VS2019 |
| Visual Studio 2019 compiler. | |
| #define | MURL_COMPILER_VS2022 |
| Visual Studio 2022 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. 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. | |
Murl Engine preprocessor defines.
The global defines should be used to ensure multi-platform compatibility.
| #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: