Fix build breakage. NS_InitMsgAppCoreClass returns an nsresult.

This commit is contained in:
mscott%netscape.com 1999-02-26 23:38:32 +00:00
parent 2f53812832
commit f9e4b48724
2 changed files with 3 additions and 5 deletions

View File

@ -52,8 +52,6 @@ class nsIDOMMsgAppCore : public nsIDOMBaseAppCore {
#endif
};
extern "C" NS_DOM
NS_InitMsgAppCoreClass(nsIScriptContext *aContext, void **aPrototype, JSObject * aParentProto);
nsresult NS_InitMsgAppCoreClass(nsIScriptContext *aContext, void **aPrototype, JSObject * aParentProto);
#endif /* __gen_nsIDOMMsgAppCore_h__ */

View File

@ -53,7 +53,7 @@ interface nsIDOMMsgAppCore : nsIDOMBaseAppCore {
%{ C++
extern "C" NS_DOM
NS_InitMsgAppCoreClass(nsIScriptContext *aContext, void **aPrototype, JSObject * aParentProto);
extern "C" NS_DOM
nsresult NS_InitMsgAppCoreClass(nsIScriptContext *aContext, void **aPrototype, JSObject * aParentProto);
%}