eolian: mark _class_get func protos with EOAPI
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 28 Apr 2015 13:12:18 +0000 (14:12 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 28 Apr 2015 13:12:18 +0000 (14:12 +0100)
this is necessary to properly export the funcs on Windows. @fix

src/bin/eolian/eo_generator.c

index fe81f1f41efa5a67d71f9e1894fd61db58d567bc..8dfcfe5764cf6d2309460b664054e9dfe13070ba 100644 (file)
@@ -53,7 +53,7 @@ static const char
 tmpl_eo_obj_header[] = "\
 #define @#CLASS_@#CLASSTYPE @#klasstype_get()\n\
 \n\
-const Eo_Class *@#klasstype_get(void) EINA_CONST;\n\
+EOAPI const Eo_Class *@#klasstype_get(void) EINA_CONST;\n\
 \n\
 ";