summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-28 14:27:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-28 14:27:52 +0300
commitd5c8ecc7a45798e8ba6674e6323244e2f2c291fb (patch)
treead15dd993c5c1463b3925993b36548d99a4d7133 /plugins/AVS/src/main.cpp
parent0d2a573701b57fed6d7a14b88740fe36441d5cbf (diff)
what should be done to each C++ plugin (missing Unload functions might not be overridden)
Diffstat (limited to 'plugins/AVS/src/main.cpp')
-rw-r--r--plugins/AVS/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp
index e3d0fcf825..6fa9c01b15 100644
--- a/plugins/AVS/src/main.cpp
+++ b/plugins/AVS/src/main.cpp
@@ -356,7 +356,7 @@ static int ModulesLoaded(WPARAM, LPARAM)
return 0;
}
-extern "C" int __declspec(dllexport) Load(void)
+int CMPlugin::Load()
{
LoadACC();
@@ -384,7 +384,7 @@ extern "C" int __declspec(dllexport) Load(void)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Unload(void)
+int CMPlugin::Unload()
{
UninitPolls();
UnloadCache();