From d5c8ecc7a45798e8ba6674e6323244e2f2c291fb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 May 2018 14:27:52 +0300 Subject: what should be done to each C++ plugin (missing Unload functions might not be overridden) --- plugins/AVS/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AVS/src/main.cpp') 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(); -- cgit v1.2.3