[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20400] branches/soc-2009-chingachgook/ source/blender/collada/collada.cpp: Small fix that should make C functions properly export from bf_collada.
Arystanbek Dyussenov
arystan.d at gmail.com
Mon May 25 13:42:14 CEST 2009
Revision: 20400
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20400
Author: kazanbas
Date: 2009-05-25 13:42:14 +0200 (Mon, 25 May 2009)
Log Message:
-----------
Small fix that should make C functions properly export from bf_collada.
Modified Paths:
--------------
branches/soc-2009-chingachgook/source/blender/collada/collada.cpp
Modified: branches/soc-2009-chingachgook/source/blender/collada/collada.cpp
===================================================================
--- branches/soc-2009-chingachgook/source/blender/collada/collada.cpp 2009-05-25 11:39:09 UTC (rev 20399)
+++ branches/soc-2009-chingachgook/source/blender/collada/collada.cpp 2009-05-25 11:42:14 UTC (rev 20400)
@@ -1,11 +1,14 @@
#include "BKE_scene.h"
-int collada_import(Scene *sce, const char *filepath)
+extern "C"
{
- return 1;
-}
+ int collada_import(Scene *sce, const char *filepath)
+ {
+ return 1;
+ }
-int collada_export(Scene *sce, const char *filepath)
-{
- return 1;
+ int collada_export(Scene *sce, const char *filepath)
+ {
+ return 1;
+ }
}
More information about the Bf-blender-cvs
mailing list