0ad/source/scriptinterface
Yves 5f86beea6f Replace HandleWrapper and avoid repoint function
JS::Handle<T>::repoint gets removed with SpiderMonkey 38, so the
existing solution has to be replaced. The new approach should also be a
bit clearer. Named Return Value Optimization (NRVO) should avoid a
superfluous temporary for the return value in the generic template
function implementation of AssignOrFromJSVal.

Refs #3708

This was SVN commit r17695.
2016-01-23 14:42:59 +00:00
..
tests Fix test failure on Windows. 2016-01-11 20:03:01 +00:00
third_party Fixes clang unused parameter warning 2015-06-14 23:45:15 +00:00
NativeWrapperDecls.h Replace HandleWrapper and avoid repoint function 2016-01-23 14:42:59 +00:00
NativeWrapperDefns.h Replace HandleWrapper and avoid repoint function 2016-01-23 14:42:59 +00:00
ScriptConversions.cpp Use .assign instead of operator=. 2016-01-11 20:57:03 +00:00
ScriptExtraHeaders.h Disables some SpiderMonkey-related build warnings with clang 2015-02-22 21:15:47 +00:00
ScriptInterface.cpp Replace HandleWrapper and avoid repoint function 2016-01-23 14:42:59 +00:00
ScriptInterface.h Replace HandleWrapper and avoid repoint function 2016-01-23 14:42:59 +00:00
ScriptRuntime.cpp The jschar typedef is removed in SpiderMonkey 38. 2015-12-19 01:29:55 +00:00
ScriptRuntime.h SpiderMonkey 31 upgrade 2015-01-24 14:46:52 +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 JS_DumpHeap is removed in SpiderMonkey 38, since we have nothing using it remove it. Refs #3708. 2016-01-11 20:03:09 +00:00
ScriptVal.h Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00