зеркало из https://github.com/mozilla/pjs.git
Fixing dll exports for NS_NewLocalFile()
r=dveditz
This commit is contained in:
Родитель
1337b2285d
Коммит
ac2d28290e
|
@ -46,6 +46,7 @@
|
|||
#include "nsInterfaceInfo.h"
|
||||
#include "xptcall.h"
|
||||
#include "nsIFileSpec.h"
|
||||
#include "nsILocalFile.h"
|
||||
#include "nsIGenericFactory.h"
|
||||
#include "nsAVLTree.h"
|
||||
#include "nsHashtableEnumerator.h"
|
||||
|
@ -129,5 +130,6 @@ void XXXNeverCalled()
|
|||
NS_NewBinaryInputStream(0, 0);
|
||||
nsString foo;
|
||||
nsLinebreakConverter::ConvertStringLineBreaks(foo,
|
||||
nsLinebreakConverter::eLinebreakAny, nsLinebreakConverter::eLinebreakContent);
|
||||
nsLinebreakConverter::eLinebreakAny, nsLinebreakConverter::eLinebreakContent);
|
||||
NS_NewLocalFile(NULL, NULL);
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ interface nsILocalFile : nsIFile
|
|||
#define NS_LOCAL_FILE_PROGID "component://mozilla/file/local"
|
||||
#define NS_LOCAL_FILE_CLASSNAME "Local File Specification"
|
||||
|
||||
extern NS_COM nsresult
|
||||
extern "C" NS_EXPORT nsresult
|
||||
NS_NewLocalFile(const char* path, nsILocalFile* *result);
|
||||
|
||||
%}
|
||||
|
|
|
@ -1590,7 +1590,7 @@ NS_IMETHODIMP nsLocalFile::SetFileTypeAndCreator(OSType type, OSType creator)
|
|||
|
||||
|
||||
// Handy dandy utility create routine for something or the other
|
||||
NS_COM nsresult
|
||||
nsresult
|
||||
NS_NewLocalFile(const char* path, nsILocalFile* *result)
|
||||
{
|
||||
nsLocalFile* file = new nsLocalFile();
|
||||
|
|
|
@ -1088,7 +1088,7 @@ nsLocalFile::Load(PRLibrary **_retval)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_COM nsresult
|
||||
nsresult
|
||||
NS_NewLocalFile(const char* path, nsILocalFile* *result)
|
||||
{
|
||||
nsLocalFile* file = new nsLocalFile();
|
||||
|
|
|
@ -1780,7 +1780,7 @@ nsLocalFile::GetDirectoryEntries(nsISimpleEnumerator * *entries)
|
|||
}
|
||||
|
||||
|
||||
NS_COM nsresult
|
||||
nsresult
|
||||
NS_NewLocalFile(const char* path, nsILocalFile* *result)
|
||||
{
|
||||
nsLocalFile* file = new nsLocalFile();
|
||||
|
|
Загрузка…
Ссылка в новой задаче