зеркало из https://github.com/mozilla/pjs.git
Fix over-including dependencies, and relocate ID_TO_VALUE to avoid over-including (r=mrbkap, bustage fix).
This commit is contained in:
Родитель
c2fba77c36
Коммит
8b618b2412
|
@ -74,6 +74,8 @@
|
|||
#define OBJECT_TO_JSID(obj) ((jsid)OBJECT_TO_JSVAL(obj))
|
||||
#define OBJECT_JSVAL_TO_JSID(v) ((jsid)v)
|
||||
|
||||
#define ID_TO_VALUE(id) ((jsval)(id))
|
||||
|
||||
/*
|
||||
* Convenience constants.
|
||||
*/
|
||||
|
|
|
@ -365,8 +365,6 @@ js_NewScope(JSContext *cx, jsrefcount nrefs, JSObjectOps *ops, JSClass *clasp,
|
|||
extern void
|
||||
js_DestroyScope(JSContext *cx, JSScope *scope);
|
||||
|
||||
#define ID_TO_VALUE(id) ((jsval)(id))
|
||||
|
||||
extern JS_FRIEND_API(JSScopeProperty **)
|
||||
js_SearchScope(JSScope *scope, jsid id, JSBool adding);
|
||||
|
||||
|
|
|
@ -40,8 +40,9 @@
|
|||
|
||||
#include "xpcprivate.h"
|
||||
#include "XPCNativeWrapper.h"
|
||||
#include "jsdbgapi.h"
|
||||
#include "XPCWrapper.h"
|
||||
#include "jsdbgapi.h"
|
||||
#include "jsscope.h"
|
||||
|
||||
JS_STATIC_DLL_CALLBACK(JSBool)
|
||||
XPC_NW_AddProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "XPCWrapper.h"
|
||||
#include "jsscope.h"
|
||||
|
||||
const PRUint32
|
||||
XPCWrapper::sWrappedObjSlot = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче