mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-26 15:35:55 +00:00
Adapt JS API to ESR 140
This commit is contained in:
@@ -69,9 +69,10 @@ void JobQueue::runJobs(JSContext*)
|
||||
}
|
||||
}
|
||||
|
||||
JSObject* JobQueue::getIncumbentGlobal(JSContext* cx)
|
||||
bool JobQueue::getHostDefinedData(JSContext* cx, JS::MutableHandle<JSObject*> data) const
|
||||
{
|
||||
return JS::CurrentGlobalOrNull(cx);
|
||||
data.set(JS::CurrentGlobalOrNull(cx));
|
||||
return true;
|
||||
}
|
||||
|
||||
bool JobQueue::enqueuePromiseJob(JSContext* cx, JS::HandleObject, JS::HandleObject job, JS::HandleObject,
|
||||
|
||||
Reference in New Issue
Block a user