0ad/source/scriptinterface
wraitii aae417bd29 Explicitly make ScriptInterface a Compartment wrapper.
ScriptInterface is now a wrapper around a JSCompartment, and thus always
has a well-defined global.

The error reporter is moved to ScriptRuntime in anticipation of that
handling JSContext in a later diff.

Part of the SM52 migration, stage: SM45 compatible.

Patch by: Itms
Tested By: Freagarach
Refs #4893

Differential Revision: https://code.wildfiregames.com/D3090
This was SVN commit r24180.
2020-11-14 08:46:32 +00:00
..
tests Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
NativeWrapperDecls.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
NativeWrapperDefns.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
ScriptConversions.cpp Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
ScriptConversions.h Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
ScriptEngine.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00
ScriptExtraHeaders.h SpiderMonkey 38 upgrade: 09/35 2016-09-02 16:23:44 +00:00
ScriptInterface.cpp Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
ScriptInterface.h Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
ScriptRuntime.cpp Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
ScriptRuntime.h Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
ScriptStats.cpp Use in-place construction. 2015-07-29 23:44:17 +00:00
ScriptStats.h Add JS memory usage to profiler. 2010-08-02 19:23:58 +00:00
ScriptTypes.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00