Deprecated.h File
Compiler-portable deprecation macros used framework-wide. More...
Macro Definitions Index
| #define | SIMA_DEPRECATED(msg) |
|
Mark a symbol as deprecated with an explanatory message. More... | |
Description
Compiler-portable deprecation macros used framework-wide.
Defines SIMA_DEPRECATED(msg). When SIMA_ENABLE_LEGACY_DEPRECATION is defined the macro expands to the appropriate compiler attribute (__declspec(deprecated) on MSVC, __attribute__((deprecated)) on GCC/Clang) so call sites generate deprecation warnings; otherwise it expands to nothing so production builds remain warning-free. Headers can pre-define SIMA_DEPRECATED themselves to override this default.
Macro Definitions
SIMA_DEPRECATED
|
Mark a symbol as deprecated with an explanatory message.
Usage: SIMA_DEPRECATED("Use Foo() instead") void OldFoo();. Expands to a compiler-specific deprecation attribute when SIMA_ENABLE_LEGACY_DEPRECATION is set, otherwise expands to nothing.
- Parameters
-
msg String literal explaining what to use instead.
Definition at line 35 of file Deprecated.h.
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.