From d783d40c8162ed94254bdb3762592cdbece6e5ba Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sat, 23 Nov 2019 23:07:21 -0800 Subject: js: Remove jsapi-wrapper.h With SpiderMonkey 68, it's no longer necessary to mark SpiderMonkey header files as system headers, and it's also no longer necessary to include before any other header files, as SpiderMonkey has sorted that out internally. We remove jsapi-wrapper.h and define DEBUG directly in config.h instead of indirectly in jsapi-wrapper.h via HAVE_SPIDERMONKEY_DEBUG. This should reduce compile time, on average, because in most .h files we now only need to include . --- gi/value.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gi/value.cpp') diff --git a/gi/value.cpp b/gi/value.cpp index e680d36a..8059d0b6 100644 --- a/gi/value.cpp +++ b/gi/value.cpp @@ -21,6 +21,8 @@ * IN THE SOFTWARE. */ +#include + #include // for SCHAR_MAX, SCHAR_MIN, UCHAR_MAX #include #include // for memset @@ -29,8 +31,15 @@ #include #include -#include "gjs/jsapi-wrapper.h" -#include "mozilla/Unused.h" +#include +#include +#include // for RootedVector +#include +#include +#include // for UniqueChars +#include +#include // for InformalValueTypeName, JS_ClearPendingException +#include #include "gi/arg.h" #include "gi/boxed.h" -- cgit v1.2.1