[gjs/arg-inlines: 2/11] build: Fix includes according to latest IWYU config
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/arg-inlines: 2/11] build: Fix includes according to latest IWYU config
- Date: Sun, 12 Jul 2020 03:44:41 +0000 (UTC)
commit 30acf7c61f592792fd1150b208abc7ac3191138c
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Jul 11 20:39:09 2020 -0700
build: Fix includes according to latest IWYU config
gi/boxed.h | 1 +
gi/object.cpp | 2 ++
gi/object.h | 1 +
gi/wrapperutils.h | 1 +
gjs/atoms.h | 2 ++
gjs/importer.cpp | 1 +
6 files changed, 8 insertions(+)
---
diff --git a/gi/boxed.h b/gi/boxed.h
index e69ffe2a..01660472 100644
--- a/gi/boxed.h
+++ b/gi/boxed.h
@@ -44,6 +44,7 @@
class BoxedPrototype;
class BoxedInstance;
+class JSTracer;
namespace JS {
class CallArgs;
}
diff --git a/gi/object.cpp b/gi/object.cpp
index c1173fba..6cd83ed8 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -75,6 +75,8 @@
#include "gjs/mem-private.h"
#include "util/log.h"
+class JSTracer;
+
/* This is a trick to print out the sizes of the structs at compile time, in
* an error message. */
// template <int s> struct Measure;
diff --git a/gi/object.h b/gi/object.h
index 55fa30ed..9f61cfac 100644
--- a/gi/object.h
+++ b/gi/object.h
@@ -53,6 +53,7 @@
#include "util/log.h"
class GjsAtoms;
+class JSTracer;
namespace JS {
class CallArgs;
}
diff --git a/gi/wrapperutils.h b/gi/wrapperutils.h
index 8ec8b6ba..a83bce5a 100644
--- a/gi/wrapperutils.h
+++ b/gi/wrapperutils.h
@@ -54,6 +54,7 @@
struct JSFunctionSpec;
struct JSPropertySpec;
+class JSTracer;
GJS_JSAPI_RETURN_CONVENTION
bool gjs_wrapper_to_string_func(JSContext* cx, JSObject* this_obj,
diff --git a/gjs/atoms.h b/gjs/atoms.h
index baf1e681..eb53a785 100644
--- a/gjs/atoms.h
+++ b/gjs/atoms.h
@@ -33,6 +33,8 @@
#include "gjs/macros.h"
+class JSTracer;
+
// clang-format off
#define FOR_EACH_ATOM(macro) \
macro(code, "code") \
diff --git a/gjs/importer.cpp b/gjs/importer.cpp
index 628d3cad..804c71ed 100644
--- a/gjs/importer.cpp
+++ b/gjs/importer.cpp
@@ -34,6 +34,7 @@
#include <vector> // for vector
#include <gio/gio.h>
+#include <glib-object.h>
#include <glib.h>
#include <js/CallArgs.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]