Fix compile error

This commit is contained in:
smallmodel 2025-01-02 15:30:34 +01:00
parent 6b2160c876
commit df22895b94
No known key found for this signature in database
GPG key ID: A96F163ED4891440

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: " __FUNCTION__ ": is deprecated and has been superseded by the " alternative_name " method")
#define ScriptDeprecatedAltVariable(alternative_name) gi.DPrintf("WARNING: " __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")
#define ScriptDeprecatedAltVariable(alternative_name) gi.DPrintf("WARNING: " XSTRING(__FUNCTION__) ": is deprecated and has been superseded by the " alternative_name " variable")
#define ScriptError throw ScriptException