e_comp_canvas: make the functions be EINTERN 66/209466/2
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 5 Jul 2019 08:06:21 +0000 (17:06 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 8 Jul 2019 10:36:43 +0000 (10:36 +0000)
The functions make the internal ones which is not used at the e20 modules.

Change-Id: Id1312763efa37fadc17e4444ff711fd96d131412

src/bin/e_comp.c
src/bin/e_comp_canvas.c
src/bin/e_comp_canvas.h

index 5dc972c0b3412744b76a54347117e074d5a93103..85be57de472c31e909a2918a94e69a90aaffae8d 100644 (file)
@@ -43,7 +43,7 @@ static Eina_Inlist *_e_comp_hooks[] =
    [E_COMP_HOOK_PREPARE_PLANE] = NULL,
 };
 
-E_API int E_EVENT_COMPOSITOR_RESIZE = -1;
+EINTERN int E_EVENT_COMPOSITOR_RESIZE = -1;
 E_API int E_EVENT_COMPOSITOR_DISABLE = -1;
 E_API int E_EVENT_COMPOSITOR_ENABLE = -1;
 E_API int E_EVENT_COMPOSITOR_FPS_UPDATE = -1;
index 24923f66f6e799f92f9305e76446b3949005dc25..76965a453b11a6c37ce5c31d745f954e77458c21 100644 (file)
@@ -118,7 +118,7 @@ _e_comp_cb_compositor_enabled()
    return ECORE_CALLBACK_PASS_ON;
 }
 
-E_API Eina_Bool
+EINTERN Eina_Bool
 e_comp_canvas_init(int w, int h)
 {
    Evas_Object *o;
@@ -213,7 +213,7 @@ e_comp_canvas_clear(void)
 
 //////////////////////////////////////////////
 
-E_API void
+EINTERN void
 e_comp_all_freeze(void)
 {
    if (_ev_freeze) return;
@@ -221,7 +221,7 @@ e_comp_all_freeze(void)
    _ev_freeze = EINA_TRUE;
 }
 
-E_API void
+EINTERN void
 e_comp_all_thaw(void)
 {
    if (!_ev_freeze) return;
@@ -240,7 +240,7 @@ e_comp_zone_xy_get(Evas_Coord x, Evas_Coord y)
    return NULL;
 }
 
-E_API E_Zone *
+EINTERN E_Zone *
 e_comp_zone_number_get(int num)
 {
    Eina_List *l = NULL;
@@ -253,7 +253,7 @@ e_comp_zone_number_get(int num)
    return NULL;
 }
 
-E_API E_Zone *
+EINTERN E_Zone *
 e_comp_zone_id_get(int id)
 {
    Eina_List *l = NULL;
@@ -266,7 +266,7 @@ e_comp_zone_id_get(int id)
    return NULL;
 }
 
-E_API E_Desk *
+EINTERN E_Desk *
 e_comp_desk_window_profile_get(const char *profile)
 {
    Eina_List *l = NULL;
@@ -295,7 +295,7 @@ e_comp_desk_window_profile_get(const char *profile)
    return NULL;
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_zone_update(E_Zone *zone)
 {
    Evas_Object *o;
@@ -346,7 +346,7 @@ e_comp_canvas_zone_update(E_Zone *zone)
    evas_object_show(o);
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_update(void)
 {
    Eina_List *l, *screens, *zones = NULL, *ll;
@@ -479,7 +479,7 @@ e_comp_canvas_update(void)
      }
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_fake_layers_init(void)
 {
    unsigned int layer;
@@ -495,7 +495,7 @@ e_comp_canvas_fake_layers_init(void)
      }
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_fps_toggle(void)
 {
    E_Comp_Config *conf = e_comp_config_get();
@@ -505,7 +505,7 @@ e_comp_canvas_fps_toggle(void)
    e_comp_render_queue();
 }
 
-E_API E_Layer
+EINTERN E_Layer
 e_comp_canvas_layer_map_to(unsigned int layer)
 {
    switch (layer)
@@ -619,7 +619,7 @@ e_comp_canvas_client_layer_map(E_Layer layer)
    return 9999;
 }
 
-E_API E_Layer
+EINTERN E_Layer
 e_comp_canvas_client_layer_map_nearest(int layer)
 {
 #define LAYER_MAP(X) \
@@ -678,19 +678,19 @@ e_comp_post_update_purge(E_Client *ec)
      }
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_keys_grab(void)
 {
    ;
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_keys_ungrab(void)
 {
    ;
 }
 
-E_API void
+EINTERN void
 e_comp_canvas_feed_mouse_up(unsigned int activate_time)
 {
    int button_mask, i;
@@ -728,7 +728,7 @@ e_comp_canvas_norender_pop(void)
      ecore_evas_manual_render_set(e_comp->ee, EINA_FALSE);
 }
 
-E_API int
+EINTERN int
 e_comp_canvas_norender_get(void)
 {
    return e_comp->norender;
index 2477681098465f3adfcf91c6777bb0c29159db9f..8b0c6c2b03c3b03a9a7568dcc1008a67761bc65d 100644 (file)
@@ -6,31 +6,31 @@
 #ifndef E_COMP_CANVAS_H
 #define E_COMP_CANVAS_H
 
-extern E_API int E_EVENT_COMPOSITOR_RESIZE;
+extern EINTERN int E_EVENT_COMPOSITOR_RESIZE;
 
-E_API Eina_Bool e_comp_canvas_init(int w, int h);
+EINTERN Eina_Bool e_comp_canvas_init(int w, int h);
 EINTERN void e_comp_canvas_clear(void);
-E_API void e_comp_all_freeze(void);
-E_API void e_comp_all_thaw(void);
+EINTERN void e_comp_all_freeze(void);
+EINTERN void e_comp_all_thaw(void);
 E_API E_Zone * e_comp_zone_xy_get(Evas_Coord x, Evas_Coord y);
-E_API E_Zone * e_comp_zone_number_get(int num);
-E_API E_Zone * e_comp_zone_id_get(int id);
-E_API E_Desk * e_comp_desk_window_profile_get(const char *profile);
-E_API void e_comp_canvas_zone_update(E_Zone *zone);
-E_API void e_comp_canvas_update(void);
-E_API void e_comp_canvas_fake_layers_init(void);
-E_API void e_comp_canvas_fps_toggle(void);
-E_API E_Layer e_comp_canvas_layer_map_to(unsigned int layer);
+EINTERN E_Zone * e_comp_zone_number_get(int num);
+EINTERN E_Zone * e_comp_zone_id_get(int id);
+EINTERN E_Desk * e_comp_desk_window_profile_get(const char *profile);
+EINTERN void e_comp_canvas_zone_update(E_Zone *zone);
+EINTERN void e_comp_canvas_update(void);
+EINTERN void e_comp_canvas_fake_layers_init(void);
+EINTERN void e_comp_canvas_fps_toggle(void);
+EINTERN E_Layer e_comp_canvas_layer_map_to(unsigned int layer);
 E_API unsigned int e_comp_canvas_layer_map(E_Layer layer);
 E_API unsigned int e_comp_canvas_client_layer_map(E_Layer layer);
-E_API E_Layer e_comp_canvas_client_layer_map_nearest(int layer);
-E_API void e_comp_canvas_keys_grab(void);
-E_API void e_comp_canvas_keys_ungrab(void);
-E_API void e_comp_canvas_feed_mouse_up(unsigned int activate_time);
+EINTERN E_Layer e_comp_canvas_client_layer_map_nearest(int layer);
+EINTERN void e_comp_canvas_keys_grab(void);
+EINTERN void e_comp_canvas_keys_ungrab(void);
+EINTERN void e_comp_canvas_feed_mouse_up(unsigned int activate_time);
 
 E_API void  e_comp_canvas_norender_push(void);
 E_API void  e_comp_canvas_norender_pop(void);
-E_API int   e_comp_canvas_norender_get(void);
+EINTERN int   e_comp_canvas_norender_get(void);
 
 /* the following functions are used for adjusting root window coordinates
  * to/from canvas coordinates.