From: Maxim Mamontov Date: Sat, 13 Sep 2014 22:00:44 +0000 (+0300) Subject: GetPlugin should be extern "C". X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d0fdbc23533fdf51ff2474fadc1fc504ecd4a1dc?hp=0fdb3f546ec7cb206f664f5240ac6ba3e52e8832 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(); }