mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1769451 - Part 1: Fix missing include in js/public. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D146611
This commit is contained in:
parent
8c499b6eb5
commit
fe813c9eaf
@ -12,6 +12,10 @@
|
||||
#ifndef js_HelperThreadAPI_h
|
||||
#define js_HelperThreadAPI_h
|
||||
|
||||
#include <stddef.h> // size_t
|
||||
|
||||
#include "jstypes.h" // JS_PUBLIC_API
|
||||
|
||||
namespace JS {
|
||||
|
||||
// Argument passed to the task callback to indicate whether we're invoking it
|
||||
|
@ -8,9 +8,13 @@
|
||||
#ifndef js_TraceLoggerAPI_h
|
||||
#define js_TraceLoggerAPI_h
|
||||
|
||||
#include "jstypes.h"
|
||||
#include <stddef.h> // size_t
|
||||
#include <stdint.h> // int32_t
|
||||
|
||||
#include "js/TypeDecls.h"
|
||||
#include "jstypes.h" // JS_TRACE_LOGGING, JS_PUBLIC_API
|
||||
|
||||
#include "js/TypeDecls.h" // JSContext
|
||||
#include "js/Utility.h" // js_pod_malloc
|
||||
|
||||
namespace mozilla {
|
||||
class JSONWriteFunc;
|
||||
|
@ -17,10 +17,9 @@
|
||||
#ifndef js_TypeDecls_h
|
||||
#define js_TypeDecls_h
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdint.h> // uint8_t
|
||||
|
||||
#include "jstypes.h"
|
||||
#include "jstypes.h" // JS_PUBLIC_API
|
||||
|
||||
typedef uint8_t jsbytecode;
|
||||
|
||||
|
@ -9,8 +9,13 @@
|
||||
#ifndef js_Zone_h
|
||||
#define js_Zone_h
|
||||
|
||||
#include "jspubtd.h"
|
||||
#include "js/Context.h"
|
||||
#include "mozilla/MemoryReporting.h" // mozilla::MallocSizeOf
|
||||
|
||||
#include <stddef.h> // size_t
|
||||
|
||||
#include "jstypes.h" // JS_PUBLIC_API
|
||||
#include "js/RootingAPI.h" // JS::Handle
|
||||
#include "js/TypeDecls.h" // JSContext, JSObject, jsid, JS::Compartment, JS::GCContext, JS::Value, JS::Zone
|
||||
|
||||
// [SMDOC] Nested GC Data Structures (Compartments and Zones)
|
||||
//
|
||||
|
@ -7,6 +7,9 @@
|
||||
#ifndef js_friend_PerformanceHint_h
|
||||
#define js_friend_PerformanceHint_h
|
||||
|
||||
#include "jstypes.h" // JS_PUBLIC_API
|
||||
#include "js/TypeDecls.h" // JSContext
|
||||
|
||||
namespace js {
|
||||
namespace gc {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user