Add a newline to ScriptDeprecatedAlt functions

This commit is contained in:
smallmodel 2025-02-15 00:46:24 +01:00
parent bbac9c559c
commit 2c12d4f2de
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -48,6 +48,6 @@ public:
void Error(const char *format, ...);
#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 ScriptDeprecatedAltVariable(alternative_name) gi.DPrintf("WARNING: " XSTRING(__FUNCTION__) ": is deprecated and has been superseded by the " alternative_name " variable")
#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\n")
#define ScriptError throw ScriptException