[gjs/refactor-globals: 4/4] Fix iwyu errors.



commit 714b36f5b0ff43ae8aa3b3a3c8f9d712b829fed0
Author: Evan Welsh <noreply evanwelsh com>
Date:   Sat Jul 18 16:19:17 2020 -0500

    Fix iwyu errors.

 gi/wrapperutils.h     | 2 ++
 gjs/context-private.h | 1 +
 2 files changed, 3 insertions(+)
---
diff --git a/gi/wrapperutils.h b/gi/wrapperutils.h
index a83bce5a..0600a300 100644
--- a/gi/wrapperutils.h
+++ b/gi/wrapperutils.h
@@ -56,6 +56,8 @@ struct JSFunctionSpec;
 struct JSPropertySpec;
 class JSTracer;
 
+class JSTracer;
+
 GJS_JSAPI_RETURN_CONVENTION
 bool gjs_wrapper_to_string_func(JSContext* cx, JSObject* this_obj,
                                 const char* objtype, GIBaseInfo* info,
diff --git a/gjs/context-private.h b/gjs/context-private.h
index 1b1e5562..c88537c0 100644
--- a/gjs/context-private.h
+++ b/gjs/context-private.h
@@ -55,6 +55,7 @@ template <class Key>
 struct DefaultHasher;
 }
 class GjsAtoms;
+class JSTracer;
 
 using JobQueueStorage =
     JS::GCVector<JS::Heap<JSObject*>, 0, js::SystemAllocPolicy>;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]