diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-10 18:16:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-10 18:16:48 +0000 |
commit | ac4aa486a9cda93effcd0daf351604ce18137ab7 (patch) | |
tree | 0a52778efcaed3060fa10d9063a1e4abc6420b25 | |
parent | c53f6c34134b6028777a07ee9df80a962d395b45 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Mwclist/init.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Mwclist/init.cpp b/plugins/Mwclist/init.cpp index 970004f73b..3ad3974a61 100644 --- a/plugins/Mwclist/init.cpp +++ b/plugins/Mwclist/init.cpp @@ -103,13 +103,13 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD dwReason, LPVOID reserved) return TRUE;
}
-__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
static const MUUID interfaces[] = {MIID_CLIST, MIID_LAST};
-__declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
+extern "C" __declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
{
return interfaces;
}
@@ -165,7 +165,7 @@ static ClcCacheEntryBase* fnCreateCacheItem( HANDLE hContact ) return (ClcCacheEntryBase*)p;
}
-int __declspec(dllexport) CListInitialise(PLUGINLINK * link)
+extern "C" int __declspec(dllexport) CListInitialise(PLUGINLINK * link)
{
int rc = 0;
pluginLink = link;
@@ -244,7 +244,7 @@ LBL_Error: }
// never called by a newer plugin loader.
-int __declspec(dllexport) Load(PLUGINLINK * link)
+extern "C" int __declspec(dllexport) Load(PLUGINLINK * link)
{
OutputDebugStringA("Load ClistMW\r\n");
MessageBoxA(0,"You Running Old Miranda, use >30-10-2004 version!","MultiWindow Clist",0);
@@ -252,7 +252,7 @@ int __declspec(dllexport) Load(PLUGINLINK * link) return 1;
}
-int __declspec(dllexport) Unload(void)
+extern "C" int __declspec(dllexport) Unload(void)
{
OutputDebugStringA("Unloading ClistMW\r\n");
if (IsWindow(pcli->hwndContactList)) DestroyWindow(pcli->hwndContactList);
|