On 08/20/2013 09:01 AM, Boris Zbarsky wrote: > DOMJSClass.h only needs various forward-declarations, mostly. The exceptions > are: > > 2) It needs the definition of JSClass, for a member of the DOMJSClass struct > and the DOMIfaceAndProtoJSClass struct. Unfortunately, this is defined in > jsapi.h and defining the DOMJSClass struct is the main point of this header > file.
We can/should add js/public/Class.h and move all the class gunk into that. I think the only dependencies of JSClass are various JSCLASS_* macros and the function typedefs, and those only depend on the rooting types and JSAPI structs that we can forward-declare. Jeff _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform