mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Make that function static, so that it can be used for these functions without slowly having to obtain the ScriptInterface instance using GetScriptInterfaceAndCBData just to get the JSContext again. Remove few redundant conversions for CreateObject arguments. Differential Revision: https://code.wildfiregames.com/D2128 Tested on: gcc 9.1.0, clang 8.0.1, Jenkins Tedious performance testing in: D2128, D2127 This was SVN commit r22894. |
||
|---|---|---|
| .. | ||
| tests | ||
| third_party | ||
| NativeWrapperDecls.h | ||
| NativeWrapperDefns.h | ||
| ScriptConversions.cpp | ||
| ScriptConversions.h | ||
| ScriptEngine.h | ||
| ScriptExtraHeaders.h | ||
| ScriptInterface.cpp | ||
| ScriptInterface.h | ||
| ScriptRuntime.cpp | ||
| ScriptRuntime.h | ||
| ScriptStats.cpp | ||
| ScriptStats.h | ||
| ScriptTypes.h | ||
| ScriptVal.h | ||