1
0
forked from mirrors/0ad

Fix includes in source/scriptinterface

Make include-what-you-use happy with files in source/scriptinterface and
fix what needs to be fixed.

Ref: #8086
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-08-04 19:04:30 +02:00
parent 32fd10691d
commit b066bb0b99
27 changed files with 328 additions and 86 deletions
+18 -5
View File
@@ -19,17 +19,30 @@
#include "ScriptContext.h"
#include "js/Modules.h"
#include "js/friend/PerformanceHint.h"
#include "lib/alignment.h"
#include "ps/GameSetup/Config.h"
#include "lib/debug.h"
#include "ps/Profile.h"
#include "ps/Profiler2.h"
#include "ps/ThreadUtil.h"
#include "scriptinterface/ModuleLoader.h"
#include "scriptinterface/Promises.h"
#include "scriptinterface/ScriptExtraHeaders.h"
#include "scriptinterface/ScriptEngine.h"
#include "scriptinterface/ScriptInterface.h"
#include "scriptinterface/ScriptExtraHeaders.h"
#include "js/friend/PerformanceHint.h"
#include "js/Modules.h"
#include <js/Context.h>
#include <js/GCAPI.h>
#include <js/Initialization.h>
#include <js/Promise.h>
#include <js/SliceBudget.h>
#include <js/Stack.h>
#include <jsapi.h>
#include <jsfriendapi.h>
namespace JS { class Realm; }
struct JSContext;
struct JSRuntime;
void GCSliceCallbackHook(JSContext*, JS::GCProgress progress, const JS::GCDescription&)
{