updating txmgr..

This commit is contained in:
mjudge%netscape.com 1998-12-14 20:38:36 +00:00
parent f23a750b39
commit b2888d6f9d
2 changed files with 4 additions and 1 deletions

View File

@ -31,6 +31,7 @@ CPP_OBJS = \
.\$(OBJDIR)\nsTransactionItem.obj \
.\$(OBJDIR)\nsTransactionManager.obj \
.\$(OBJDIR)\nsTransactionStack.obj \
.\$(OBJDIR)\nsTransactionManagerFactory.obj \
$(NULL)
MODULE=txmgr

View File

@ -19,6 +19,7 @@
#include "nscore.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsRepository.h"
#include "nsTransactionManagerCID.h"
#include "nsTransactionManager.h"
@ -112,7 +113,8 @@ nsresult nsTransactionManagerFactory::LockFactory(PRBool aLock)
}
// return the proper factory to the caller
extern "C" /* NS_TRANSACTIONMANAGER */ NS_EXPORT nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)
extern "C" NS_EXPORT nsresult NSGetFactory(const nsCID &aClass, nsIFactory
**aFactory)
{
if (!aFactory)
return NS_ERROR_NULL_POINTER;