Eo: Mark class_get() as weak APIs
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 7 Apr 2016 06:36:20 +0000 (15:36 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 7 Apr 2016 06:39:56 +0000 (15:39 +0900)
While eolian-gen was generating EWAPI (weak) class_get()
symbol declarations, they were implemented as EAPI (strong).
Not sure if this mismatch had any significant effect.

This patch tries to address T3423 (windows build).
The mismatch between EAPI and EWAPI might be the problem.

src/lib/eo/Eo.h

index 4992b21..f964507 100644 (file)
@@ -296,7 +296,7 @@ typedef unsigned int Eo_Op;
  * You must use this macro if you want thread safety in class creation.
  */
 #define EO_DEFINE_CLASS(class_get_func_name, class_desc, parent_class, ...) \
-EAPI const Eo_Class * \
+EWAPI const Eo_Class * \
 class_get_func_name(void) \
 { \
    const Eo_Class *_tmp_parent_class; \