0ad/source/scriptinterface
wraitii dd0b56c8aa Replace DISCARD macro with ignore_result template.
Fixes eb7940b418.
As reported by Vladislav, there is possibly confusion on what exactly is
being ignored when there are multiple statements after DISCARD. Explicit
wrapping avoids that.

Differential Revision: https://code.wildfiregames.com/D3206
This was SVN commit r24397.
2020-12-15 09:03:44 +00:00
..
tests [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
NativeWrapperDecls.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
NativeWrapperDefns.h Replace DISCARD macro with ignore_result template. 2020-12-15 09:03:44 +00:00
ScriptContext.cpp Fix JS incremental GC issue (destroyed realms are not collected). 2020-12-14 08:51:29 +00:00
ScriptContext.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ScriptConversions.cpp [SM68 2/2] Update to Spidermonkey 68 APIs 2020-11-30 09:03:20 +00:00
ScriptConversions.h [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptEngine.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
ScriptExceptions.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptExceptions.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptExtraHeaders.h [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptForward.h [SM68 2/2] Update to Spidermonkey 68 APIs 2020-11-30 09:03:20 +00:00
ScriptInterface.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptInterface.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ScriptStats.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptStats.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ScriptTypes.h [SM78 1/2] Upgrade Spidermonkey build system and binaries to 78.6.0 2020-12-06 14:00:57 +00:00