0ad/source/simulation2/scripting
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
..
EngineScriptConversions.cpp Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
JSInterface_Simulation.cpp Explicitly make ScriptInterface a Compartment wrapper. 2020-11-14 08:46:32 +00:00
JSInterface_Simulation.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
MessageTypeConversions.cpp Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
ScriptComponent.cpp Wrap JSAutoRequest and replace usage of JSContext* with the wrapper. 2020-11-13 13:18:22 +00:00
ScriptComponent.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00