mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
4a71eaefa6
- Avoid gratuitous extra newlines in foo.h compiled from foo.idl. - Use do-while, not for or while, guarded by if that tests the loop condition. - Use NS_EXPORT to qualify static InitJSClass and GetJSObject method. - Turn enum declarations within interfaces into JS class constant numbers. - Defend against null return from JS_GetPrivate (prototype and user-constructed objects have no private data).