mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 01:11:50 +00:00
Adapt 0 A.D. to SpiderMonkey ESR 102
This follows the migration guide at: https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples Based on patch by: wraitii Differential Revision: https://code.wildfiregames.com/D5002
This commit is contained in:
@@ -98,7 +98,7 @@ struct BuildDirEntListState
|
||||
filename_array(rq.cx),
|
||||
cur_idx(0)
|
||||
{
|
||||
filename_array = JS::NewArrayObject(rq.cx, JS::HandleValueArray::empty());
|
||||
filename_array = JS::NewArrayObject(rq.cx, 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user