]> git.stg.codes - stg.git/commitdiff
GetPlugin should be extern "C".
authorMaxim Mamontov <faust.madf@gmail.com>
Sat, 13 Sep 2014 22:00:44 +0000 (01:00 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 9 Jan 2015 20:56:43 +0000 (22:56 +0200)
projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp

index ca6b8d2127d2a4b0de829b6f0e0fba7e5cecb138..88ccfd851e72a48af802317e4f6d3e370668d5e0 100644 (file)
@@ -62,7 +62,7 @@ return 0;
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
-PLUGIN * GetPlugin()
+extern "C" PLUGIN * GetPlugin()
 {
 return stgc.GetPlugin();
 }
 {
 return stgc.GetPlugin();
 }