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
+24 -1
View File
@@ -20,11 +20,15 @@
#include "ScriptInterface.h"
#include "lib/debug.h"
#include "lib/file/vfs/vfs_path.h"
#include "lib/file/vfs/vfs_util.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#include "ps/Filesystem.h"
#include "ps/Profile.h"
#include "ps/Profiler2.h"
#include "ps/ThreadUtil.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/ModuleLoader.h"
#include "scriptinterface/Object.h"
@@ -33,8 +37,27 @@
#include "scriptinterface/ScriptStats.h"
#include "scriptinterface/StructuredClone.h"
#include <map>
#include <cstdio>
#include <cstring>
#include <js/CallAndConstruct.h>
#include <js/Class.h>
#include <js/ComparisonOperators.h>
#include <js/CompilationAndEvaluation.h>
#include <js/CompileOptions.h>
#include <js/GCVector.h>
#include <js/GlobalObject.h>
#include <js/PropertyAndElement.h>
#include <js/PropertyDescriptor.h>
#include <js/Realm.h>
#include <js/RealmOptions.h>
#include <js/SourceText.h>
#include <jsapi.h>
#include <mozilla/Maybe.h>
#include <string>
#include <vector>
namespace JS { class Compartment; }
namespace mozilla { union Utf8Unit; }
#define BOOST_MULTI_INDEX_DISABLE_SERIALIZATION
#include <boost/preprocessor/punctuation/comma_if.hpp>