jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d340d85a1f15057999d635d997402ddf0ac50528

commit d340d85a1f15057999d635d997402ddf0ac50528
Author: Jean Guyomarc'h <j...@guyomarch.bzh>
Date:   Tue May 9 21:24:11 2017 +0200

    ecore_evas: fix link issue on macOS
    
    696ed3e2e8f97de482e98db34997ad1848da985d introduced a build failure on
    macOS. _ecore_evas_subregister is being used in a foreign code module,
    but it was not exported. Enforcing EAPI gives this symbol enough
    visibility to be used outside of ecore_evas.
---
 src/lib/ecore_evas/ecore_evas.c         | 2 +-
 src/lib/ecore_evas/ecore_evas_private.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index ac525fd..124305f 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3098,7 +3098,7 @@ _ecore_evas_register(Ecore_Evas *ee)
      evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_POST, 
_evas_evas_buffer_rendered, ee);
 }
 
-void
+EAPI void
 _ecore_evas_subregister(Ecore_Evas *ee_target, Ecore_Evas *ee)
 {
    _ecore_evas_register_animators(ee);
diff --git a/src/lib/ecore_evas/ecore_evas_private.h 
b/src/lib/ecore_evas/ecore_evas_private.h
index 3bfacdc..e905209 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -390,7 +390,7 @@ EAPI void _ecore_evas_fps_debug_init(void);
 EAPI void _ecore_evas_fps_debug_shutdown(void);
 EAPI void _ecore_evas_fps_debug_rendertime_add(double t);
 EAPI void _ecore_evas_register(Ecore_Evas *ee);
-void _ecore_evas_subregister(Ecore_Evas *ee_target, Ecore_Evas *ee);
+EAPI void _ecore_evas_subregister(Ecore_Evas *ee_target, Ecore_Evas *ee);
 EAPI void _ecore_evas_register_animators(Ecore_Evas *ee);
 EAPI void _ecore_evas_free(Ecore_Evas *ee);
 EAPI void _ecore_evas_idle_timeout_update(Ecore_Evas *ee);

-- 


Reply via email to