Sometimes, a JS object needs access to a prototype in a different file. An example of this is HTMLDocumentProto in kjs_html.cpp, whose prototype is currently in kjs_dom.cpp. It would be nice if we could put the prototype declaration in kjs_dom.h instead.
Created attachment 5221 [details] Make it possible to use DEFINE_PROTOTYPE in headers
Comment on attachment 5221 [details] Make it possible to use DEFINE_PROTOTYPE in headers Looks fine to me. r=me.
These macros really need some kind of namespace prefix.