From 7de2f28b4586557f04a80c4d4c0fadd99703a687 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 7 Apr 2016 15:36:20 +0900 Subject: [PATCH] Eo: Mark class_get() as weak APIs 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 4992b21..f964507 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -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; \ -- 2.7.4