mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
updating txmgr..
This commit is contained in:
parent
f23a750b39
commit
b2888d6f9d
@ -31,6 +31,7 @@ CPP_OBJS = \
|
||||
.\$(OBJDIR)\nsTransactionItem.obj \
|
||||
.\$(OBJDIR)\nsTransactionManager.obj \
|
||||
.\$(OBJDIR)\nsTransactionStack.obj \
|
||||
.\$(OBJDIR)\nsTransactionManagerFactory.obj \
|
||||
$(NULL)
|
||||
|
||||
MODULE=txmgr
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user