mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
fix bad exported function definitions. blocker bug 77176 code=jeff@tcbnetworks.com r=hyatt,me a=kysmith
This commit is contained in:
parent
eca8ed6549
commit
34d0fcb3be
@ -25,16 +25,21 @@
|
||||
|
||||
#include "nsError.h"
|
||||
|
||||
// this component is for an MFC app; it's Windows. make sure this is defined.
|
||||
#ifndef XP_WIN
|
||||
#define XP_WIN
|
||||
#endif
|
||||
|
||||
class nsIFactory;
|
||||
|
||||
// factory creator, in hard and soft link formats
|
||||
extern "C" NS_EXPORT nsresult NS_NewPromptServiceFactory(nsIFactory** aFactory);
|
||||
typedef nsresult (CALLBACK *MakeFactoryType)(nsIFactory **);
|
||||
typedef nsresult (__cdecl *MakeFactoryType)(nsIFactory **);
|
||||
#define kPromptServiceFactoryFuncName "NS_NewPromptServiceFactory"
|
||||
|
||||
// initialization function, in hard and soft link formats
|
||||
extern "C" NS_EXPORT void InitPromptService(HINSTANCE instance);
|
||||
typedef nsresult (CALLBACK *InitPromptServiceType)(HINSTANCE instance);
|
||||
typedef nsresult (__cdecl *InitPromptServiceType)(HINSTANCE instance);
|
||||
#define kPromptServiceInitFuncName "InitPromptService"
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user