mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Add a newline to ScriptDeprecatedAlt functions
This commit is contained in:
parent
bbac9c559c
commit
2c12d4f2de
1 changed files with 2 additions and 2 deletions
|
@ -48,6 +48,6 @@ public:
|
||||||
void Error(const char *format, ...);
|
void Error(const char *format, ...);
|
||||||
|
|
||||||
#define ScriptDeprecated(function) throw ScriptException(function ": DEPRECATED. DON'T USE IT ANYMORE")
|
#define ScriptDeprecated(function) throw ScriptException(function ": DEPRECATED. DON'T USE IT ANYMORE")
|
||||||
#define ScriptDeprecatedAltMethod(alternative_name) gi.DPrintf("WARNING: " XSTRING(__FUNCTION__) ": is deprecated and has been superseded by the " alternative_name " method")
|
#define ScriptDeprecatedAltMethod(alternative_name) gi.DPrintf("WARNING: " XSTRING(__FUNCTION__) ": is deprecated and has been superseded by the " alternative_name " method\n")
|
||||||
#define ScriptDeprecatedAltVariable(alternative_name) gi.DPrintf("WARNING: " XSTRING(__FUNCTION__) ": is deprecated and has been superseded by the " alternative_name " variable")
|
#define ScriptDeprecatedAltVariable(alternative_name) gi.DPrintf("WARNING: " XSTRING(__FUNCTION__) ": is deprecated and has been superseded by the " alternative_name " variable\n")
|
||||||
#define ScriptError throw ScriptException
|
#define ScriptError throw ScriptException
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue