From: Maxim Mamontov Date: Sat, 13 Sep 2014 22:00:44 +0000 (+0300) Subject: GetPlugin should be extern "C". X-Git-Tag: 2.409~284 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/fc4a61702decae1326eb8ecdd986e5df2416088f GetPlugin should be extern "C". --- diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp index ca6b8d21..88ccfd85 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp @@ -62,7 +62,7 @@ return 0; //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- -PLUGIN * GetPlugin() +extern "C" PLUGIN * GetPlugin() { return stgc.GetPlugin(); }