From d7e842a0c56f5889bac41e2f5d438055bb04909a Mon Sep 17 00:00:00 2001 From: "shaver%mozilla.org" Date: Fri, 26 May 2000 05:55:00 +0000 Subject: [PATCH] use NS_METHOD for register/unregister callback, for Win32 --- js/src/xpconnect/loader/mozJSComponentLoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/xpconnect/loader/mozJSComponentLoader.cpp b/js/src/xpconnect/loader/mozJSComponentLoader.cpp index 69a35451ee1..202fa9e5ce7 100644 --- a/js/src/xpconnect/loader/mozJSComponentLoader.cpp +++ b/js/src/xpconnect/loader/mozJSComponentLoader.cpp @@ -1039,7 +1039,7 @@ mozJSComponentLoader::UnloadAll(PRInt32 aWhen) //---------------------------------------------------------------------- /* XXX this should all be data-driven, via NS_IMPL_GETMODULE_WITH_CATEGORIES */ -static nsresult +static NS_METHOD RegisterJSLoader(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType) { @@ -1053,7 +1053,7 @@ RegisterJSLoader(nsIComponentManager *aCompMgr, nsIFile *aPath, PR_TRUE, PR_TRUE, getter_Copies(previous)); } -static nsresult +static NS_METHOD UnregisterJSLoader(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation) {