summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsuya <jsuya.choi@samsung.com>2018-12-17 23:06:31 +0200
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2018-12-17 23:08:10 +0200
commitf991aecfa6b83cdda00276678702dbfda3d2590f (patch)
tree7f7d24c902241305c82fe9ed5a47a348c457b10f
parent79c2e469fc3af266fa8d27134592c4bf2195bfae (diff)
Update code after EFL @0d2b624f
Summary: Update code Test Plan: N/A Reviewers: JackDanielZ Reviewed By: JackDanielZ Subscribers: YOhoho, bowonryu, akanad, myoungwoon Differential Revision: https://phab.enlightenment.org/D7464
-rw-r--r--src/lib/catchers.c224
1 files changed, 125 insertions, 99 deletions
diff --git a/src/lib/catchers.c b/src/lib/catchers.c
index 6370608..f6501f8 100644
--- a/src/lib/catchers.c
+++ b/src/lib/catchers.c
@@ -1357,85 +1357,38 @@ EOAPI void ector_renderer_color_get(const Eo *obj, int *r, int *g, int *b, int *
1357} 1357}
1358#endif 1358#endif
1359 1359
1360#ifndef EA_SPY_ECTOR_RENDERER_MASK_SET 1360#ifndef EA_SPY_ECTOR_RENDERER_CRC_GET
1361#define EA_SPY_ECTOR_RENDERER_MASK_SET 1361#define EA_SPY_ECTOR_RENDERER_CRC_GET
1362EOAPI void ector_renderer_mask_set(Eo *obj, Ector_Renderer * r) 1362EOAPI unsigned int ector_renderer_crc_get(const Eo *obj)
1363{
1364 static Catcher_Info *info = NULL;
1365 if (!info) info = _catcher_info_new("Ector.Renderer", "mask", EOLIAN_PROP_SET);
1366 _intercept_ref();
1367 if (_intercept_counter_get() == 1)
1368 _func_register((Eo *)obj, info, EINA_TRUE, r);
1369 static void (*_foo)(Eo *, Ector_Renderer *) = NULL;
1370 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
1371 _foo(obj, r);
1372 _intercept_unref();
1373 return;
1374}
1375#endif
1376
1377#ifndef EA_SPY_ECTOR_RENDERER_MASK_GET
1378#define EA_SPY_ECTOR_RENDERER_MASK_GET
1379EOAPI Ector_Renderer * ector_renderer_mask_get(const Eo *obj)
1380{ 1363{
1381 static Catcher_Info *info = NULL; 1364 static Catcher_Info *info = NULL;
1382 if (!info) info = _catcher_info_new("Ector.Renderer", "mask", EOLIAN_PROP_GET); 1365 if (!info) info = _catcher_info_new("Ector.Renderer", "crc", EOLIAN_PROP_GET);
1383 _intercept_ref(); 1366 _intercept_ref();
1384 static Ector_Renderer * (*_foo)(const Eo *) = NULL; 1367 static unsigned int (*_foo)(const Eo *) = NULL;
1385 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__); 1368 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
1386 Ector_Renderer * ret = _foo(obj); 1369 unsigned int ret = _foo(obj);
1387 _intercept_unref(); 1370 _intercept_unref();
1388 return ret; 1371 return ret;
1389} 1372}
1390#endif 1373#endif
1391 1374
1392#ifndef EA_SPY_ECTOR_RENDERER_QUALITY_SET 1375#ifndef EA_SPY_ECTOR_RENDERER_MASK_SET
1393#define EA_SPY_ECTOR_RENDERER_QUALITY_SET 1376#define EA_SPY_ECTOR_RENDERER_MASK_SET
1394EOAPI void ector_renderer_quality_set(Eo *obj, Ector_Quality q) 1377EOAPI void ector_renderer_mask_set(Eo *obj, Ector_Buffer * mask, int op)
1395{ 1378{
1396 static Catcher_Info *info = NULL; 1379 static Catcher_Info *info = NULL;
1397 if (!info) info = _catcher_info_new("Ector.Renderer", "quality", EOLIAN_PROP_SET); 1380 if (!info) info = _catcher_info_new("Ector.Renderer", "mask", EOLIAN_PROP_SET);
1398 _intercept_ref(); 1381 _intercept_ref();
1399 if (_intercept_counter_get() == 1) 1382 if (_intercept_counter_get() == 1)
1400 _func_register((Eo *)obj, info, EINA_TRUE, q); 1383 _func_register((Eo *)obj, info, EINA_TRUE, mask, op);
1401 static void (*_foo)(Eo *, Ector_Quality) = NULL; 1384 static void (*_foo)(Eo *, Ector_Buffer *, int) = NULL;
1402 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__); 1385 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
1403 _foo(obj, q); 1386 _foo(obj, mask, op);
1404 _intercept_unref(); 1387 _intercept_unref();
1405 return; 1388 return;
1406} 1389}
1407#endif 1390#endif
1408 1391
1409#ifndef EA_SPY_ECTOR_RENDERER_QUALITY_GET
1410#define EA_SPY_ECTOR_RENDERER_QUALITY_GET
1411EOAPI Ector_Quality ector_renderer_quality_get(const Eo *obj)
1412{
1413 static Catcher_Info *info = NULL;
1414 if (!info) info = _catcher_info_new("Ector.Renderer", "quality", EOLIAN_PROP_GET);
1415 _intercept_ref();
1416 static Ector_Quality (*_foo)(const Eo *) = NULL;
1417 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
1418 Ector_Quality ret = _foo(obj);
1419 _intercept_unref();
1420 return ret;
1421}
1422#endif
1423
1424#ifndef EA_SPY_ECTOR_RENDERER_CRC_GET
1425#define EA_SPY_ECTOR_RENDERER_CRC_GET
1426EOAPI unsigned int ector_renderer_crc_get(const Eo *obj)
1427{
1428 static Catcher_Info *info = NULL;
1429 if (!info) info = _catcher_info_new("Ector.Renderer", "crc", EOLIAN_PROP_GET);
1430 _intercept_ref();
1431 static unsigned int (*_foo)(const Eo *) = NULL;
1432 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
1433 unsigned int ret = _foo(obj);
1434 _intercept_unref();
1435 return ret;
1436}
1437#endif
1438
1439#ifndef EA_SPY_ECTOR_RENDERER_DRAW 1392#ifndef EA_SPY_ECTOR_RENDERER_DRAW
1440#define EA_SPY_ECTOR_RENDERER_DRAW 1393#define EA_SPY_ECTOR_RENDERER_DRAW
1441EOAPI Eina_Bool ector_renderer_draw(Eo *obj, Efl_Gfx_Render_Op op, Eina_Array * clips, unsigned int mul_col) 1394EOAPI Eina_Bool ector_renderer_draw(Eo *obj, Efl_Gfx_Render_Op op, Eina_Array * clips, unsigned int mul_col)
@@ -5114,36 +5067,21 @@ EOAPI void efl_canvas_vg_node_origin_get(const Eo *obj, double *x, double *y)
5114 5067
5115#ifndef EA_SPY_EFL_CANVAS_VG_NODE_MASK_SET 5068#ifndef EA_SPY_EFL_CANVAS_VG_NODE_MASK_SET
5116#define EA_SPY_EFL_CANVAS_VG_NODE_MASK_SET 5069#define EA_SPY_EFL_CANVAS_VG_NODE_MASK_SET
5117EOAPI void efl_canvas_vg_node_mask_set(Eo *obj, Efl_Canvas_Vg_Node * m) 5070EOAPI void efl_canvas_vg_node_mask_set(Eo *obj, Efl_Canvas_Vg_Node * mask, int op)
5118{ 5071{
5119 static Catcher_Info *info = NULL; 5072 static Catcher_Info *info = NULL;
5120 if (!info) info = _catcher_info_new("Efl.Canvas.Vg.Node", "mask", EOLIAN_PROP_SET); 5073 if (!info) info = _catcher_info_new("Efl.Canvas.Vg.Node", "mask", EOLIAN_PROP_SET);
5121 _intercept_ref(); 5074 _intercept_ref();
5122 if (_intercept_counter_get() == 1) 5075 if (_intercept_counter_get() == 1)
5123 _func_register((Eo *)obj, info, EINA_TRUE, m); 5076 _func_register((Eo *)obj, info, EINA_TRUE, mask, op);
5124 static void (*_foo)(Eo *, Efl_Canvas_Vg_Node *) = NULL; 5077 static void (*_foo)(Eo *, Efl_Canvas_Vg_Node *, int) = NULL;
5125 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__); 5078 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
5126 _foo(obj, m); 5079 _foo(obj, mask, op);
5127 _intercept_unref(); 5080 _intercept_unref();
5128 return; 5081 return;
5129} 5082}
5130#endif 5083#endif
5131 5084
5132#ifndef EA_SPY_EFL_CANVAS_VG_NODE_MASK_GET
5133#define EA_SPY_EFL_CANVAS_VG_NODE_MASK_GET
5134EOAPI Efl_Canvas_Vg_Node * efl_canvas_vg_node_mask_get(const Eo *obj)
5135{
5136 static Catcher_Info *info = NULL;
5137 if (!info) info = _catcher_info_new("Efl.Canvas.Vg.Node", "mask", EOLIAN_PROP_GET);
5138 _intercept_ref();
5139 static Efl_Canvas_Vg_Node * (*_foo)(const Eo *) = NULL;
5140 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
5141 Efl_Canvas_Vg_Node * ret = _foo(obj);
5142 _intercept_unref();
5143 return ret;
5144}
5145#endif
5146
5147#endif /* EFL_CANVAS_VG_NODE_CLASS */ 5085#endif /* EFL_CANVAS_VG_NODE_CLASS */
5148 5086
5149#ifndef EA_SPY_EFL_CANVAS_VG_OBJECT_CLASS 5087#ifndef EA_SPY_EFL_CANVAS_VG_OBJECT_CLASS
@@ -12792,6 +12730,40 @@ EOAPI Efl_Loop * efl_loop_get(const Eo *obj)
12792} 12730}
12793#endif 12731#endif
12794 12732
12733#ifndef EA_SPY_EFL_LOOP_FUTURE_RESOLVED
12734#define EA_SPY_EFL_LOOP_FUTURE_RESOLVED
12735EOAPI Eina_Future * efl_loop_future_resolved(Eo *obj, Eina_Value result)
12736{
12737 static Catcher_Info *info = NULL;
12738 if (!info) info = _catcher_info_new("Efl.Loop_Consumer", "future_resolved", EOLIAN_METHOD);
12739 _intercept_ref();
12740 if (_intercept_counter_get() == 1)
12741 _func_register((Eo *)obj, info, EINA_TRUE, result);
12742 static Eina_Future * (*_foo)(Eo *, Eina_Value) = NULL;
12743 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
12744 Eina_Future * ret = _foo(obj, result);
12745 _intercept_unref();
12746 return ret;
12747}
12748#endif
12749
12750#ifndef EA_SPY_EFL_LOOP_FUTURE_REJECTED
12751#define EA_SPY_EFL_LOOP_FUTURE_REJECTED
12752EOAPI Eina_Future * efl_loop_future_rejected(Eo *obj, Eina_Error error)
12753{
12754 static Catcher_Info *info = NULL;
12755 if (!info) info = _catcher_info_new("Efl.Loop_Consumer", "future_rejected", EOLIAN_METHOD);
12756 _intercept_ref();
12757 if (_intercept_counter_get() == 1)
12758 _func_register((Eo *)obj, info, EINA_TRUE, error);
12759 static Eina_Future * (*_foo)(Eo *, Eina_Error) = NULL;
12760 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
12761 Eina_Future * ret = _foo(obj, error);
12762 _intercept_unref();
12763 return ret;
12764}
12765#endif
12766
12795#endif /* EFL_LOOP_CONSUMER_CLASS */ 12767#endif /* EFL_LOOP_CONSUMER_CLASS */
12796 12768
12797#ifndef EA_SPY_EFL_LOOP_FD_CLASS 12769#ifndef EA_SPY_EFL_LOOP_FD_CLASS
@@ -23561,16 +23533,16 @@ EOAPI Eina_Bool efl_ui_draggable_drag_target_get(const Eo *obj)
23561 23533
23562#ifndef EA_SPY_EFL_UI_FACTORY_CREATE 23534#ifndef EA_SPY_EFL_UI_FACTORY_CREATE
23563#define EA_SPY_EFL_UI_FACTORY_CREATE 23535#define EA_SPY_EFL_UI_FACTORY_CREATE
23564EOAPI Efl_Gfx_Entity * efl_ui_factory_create(Eo *obj, Efl_Model * model, Efl_Gfx_Entity * parent) 23536EOAPI Eina_Future * efl_ui_factory_create(Eo *obj, Efl_Model * model, Efl_Gfx_Entity * parent)
23565{ 23537{
23566 static Catcher_Info *info = NULL; 23538 static Catcher_Info *info = NULL;
23567 if (!info) info = _catcher_info_new("Efl.Ui.Factory", "create", EOLIAN_METHOD); 23539 if (!info) info = _catcher_info_new("Efl.Ui.Factory", "create", EOLIAN_METHOD);
23568 _intercept_ref(); 23540 _intercept_ref();
23569 if (_intercept_counter_get() == 1) 23541 if (_intercept_counter_get() == 1)
23570 _func_register((Eo *)obj, info, EINA_TRUE, model, parent); 23542 _func_register((Eo *)obj, info, EINA_TRUE, model, parent);
23571 static Efl_Gfx_Entity * (*_foo)(Eo *, Efl_Model *, Efl_Gfx_Entity *) = NULL; 23543 static Eina_Future * (*_foo)(Eo *, Efl_Model *, Efl_Gfx_Entity *) = NULL;
23572 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__); 23544 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
23573 Efl_Gfx_Entity * ret = _foo(obj, model, parent); 23545 Eina_Future * ret = _foo(obj, model, parent);
23574 _intercept_unref(); 23546 _intercept_unref();
23575 return ret; 23547 return ret;
23576} 23548}
@@ -23939,6 +23911,21 @@ EOAPI Eina_Iterator * efl_ui_focus_manager_border_elements_get(const Eo *obj)
23939} 23911}
23940#endif 23912#endif
23941 23913
23914#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_VIEWPORT_ELEMENTS_GET
23915#define EA_SPY_EFL_UI_FOCUS_MANAGER_VIEWPORT_ELEMENTS_GET
23916EOAPI Eina_Iterator * efl_ui_focus_manager_viewport_elements_get(const Eo *obj, Eina_Rect viewport)
23917{
23918 static Catcher_Info *info = NULL;
23919 if (!info) info = _catcher_info_new("Efl.Ui.Focus.Manager", "viewport_elements", EOLIAN_PROP_GET);
23920 _intercept_ref();
23921 static Eina_Iterator * (*_foo)(const Eo *, Eina_Rect) = NULL;
23922 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
23923 Eina_Iterator * ret = _foo(obj, viewport);
23924 _intercept_unref();
23925 return ret;
23926}
23927#endif
23928
23942#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_ROOT_SET 23929#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_ROOT_SET
23943#define EA_SPY_EFL_UI_FOCUS_MANAGER_ROOT_SET 23930#define EA_SPY_EFL_UI_FOCUS_MANAGER_ROOT_SET
23944EOAPI Eina_Bool efl_ui_focus_manager_root_set(Eo *obj, Efl_Ui_Focus_Object * root) 23931EOAPI Eina_Bool efl_ui_focus_manager_root_set(Eo *obj, Efl_Ui_Focus_Object * root)
@@ -24107,6 +24094,40 @@ EOAPI void efl_ui_focus_manager_setup_on_first_touch(Eo *obj, Efl_Ui_Focus_Direc
24107} 24094}
24108#endif 24095#endif
24109 24096
24097#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_DIRTY_LOGIC_FREEZE
24098#define EA_SPY_EFL_UI_FOCUS_MANAGER_DIRTY_LOGIC_FREEZE
24099EOAPI void efl_ui_focus_manager_dirty_logic_freeze(Eo *obj)
24100{
24101 static Catcher_Info *info = NULL;
24102 if (!info) info = _catcher_info_new("Efl.Ui.Focus.Manager", "dirty_logic_freeze", EOLIAN_METHOD);
24103 _intercept_ref();
24104 if (_intercept_counter_get() == 1)
24105 _func_register((Eo *)obj, info, EINA_TRUE);
24106 static void (*_foo)(Eo *) = NULL;
24107 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
24108 _foo(obj);
24109 _intercept_unref();
24110 return;
24111}
24112#endif
24113
24114#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_DIRTY_LOGIC_UNFREEZE
24115#define EA_SPY_EFL_UI_FOCUS_MANAGER_DIRTY_LOGIC_UNFREEZE
24116EOAPI void efl_ui_focus_manager_dirty_logic_unfreeze(Eo *obj)
24117{
24118 static Catcher_Info *info = NULL;
24119 if (!info) info = _catcher_info_new("Efl.Ui.Focus.Manager", "dirty_logic_unfreeze", EOLIAN_METHOD);
24120 _intercept_ref();
24121 if (_intercept_counter_get() == 1)
24122 _func_register((Eo *)obj, info, EINA_TRUE);
24123 static void (*_foo)(Eo *) = NULL;
24124 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
24125 _foo(obj);
24126 _intercept_unref();
24127 return;
24128}
24129#endif
24130
24110#endif /* EFL_UI_FOCUS_MANAGER_INTERFACE */ 24131#endif /* EFL_UI_FOCUS_MANAGER_INTERFACE */
24111 24132
24112#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_CALC_CLASS 24133#ifndef EA_SPY_EFL_UI_FOCUS_MANAGER_CALC_CLASS
@@ -24946,23 +24967,6 @@ EOAPI Eina_Rect efl_ui_image_zoomable_image_region_get(const Eo *obj)
24946#ifndef EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS 24967#ifndef EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS
24947#define EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS 24968#define EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS
24948 24969
24949#ifndef EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_TEXT_OBJECT_SET
24950#define EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_TEXT_OBJECT_SET
24951EOAPI void efl_ui_internal_text_scroller_text_object_set(Eo *obj, Efl_Canvas_Text * text_obj)
24952{
24953 static Catcher_Info *info = NULL;
24954 if (!info) info = _catcher_info_new("Efl.Ui.Internal_Text_Scroller", "text_object", EOLIAN_PROP_SET);
24955 _intercept_ref();
24956 if (_intercept_counter_get() == 1)
24957 _func_register((Eo *)obj, info, EINA_TRUE, text_obj);
24958 static void (*_foo)(Eo *, Efl_Canvas_Text *) = NULL;
24959 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
24960 _foo(obj, text_obj);
24961 _intercept_unref();
24962 return;
24963}
24964#endif
24965
24966#ifndef EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_MODE_SET 24970#ifndef EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_MODE_SET
24967#define EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_MODE_SET 24971#define EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_MODE_SET
24968EOAPI void efl_ui_internal_text_scroller_mode_set(Eo *obj, Efl_Ui_Text_Scroller_Mode mode) 24972EOAPI void efl_ui_internal_text_scroller_mode_set(Eo *obj, Efl_Ui_Text_Scroller_Mode mode)
@@ -24995,6 +24999,23 @@ EOAPI Efl_Object * efl_ui_internal_text_scroller_viewport_clip_get(const Eo *obj
24995} 24999}
24996#endif 25000#endif
24997 25001
25002#ifndef EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_INITIALIZE
25003#define EA_SPY_EFL_UI_INTERNAL_TEXT_SCROLLER_INITIALIZE
25004EOAPI void efl_ui_internal_text_scroller_initialize(Eo *obj, Efl_Canvas_Text * text_obj, Efl_Ui_Table * text_table)
25005{
25006 static Catcher_Info *info = NULL;
25007 if (!info) info = _catcher_info_new("Efl.Ui.Internal_Text_Scroller", "initialize", EOLIAN_METHOD);
25008 _intercept_ref();
25009 if (_intercept_counter_get() == 1)
25010 _func_register((Eo *)obj, info, EINA_TRUE, text_obj, text_table);
25011 static void (*_foo)(Eo *, Efl_Canvas_Text *, Efl_Ui_Table *) = NULL;
25012 if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
25013 _foo(obj, text_obj, text_table);
25014 _intercept_unref();
25015 return;
25016}
25017#endif
25018
24998#endif /* EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS */ 25019#endif /* EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS */
24999 25020
25000#ifndef EA_SPY_EFL_UI_ITEM_CLASS 25021#ifndef EA_SPY_EFL_UI_ITEM_CLASS
@@ -28696,6 +28717,11 @@ EOAPI Eina_Bool efl_ui_text_factory_images_matches_mmap_del(Eo *obj, const char
28696 28717
28697#endif /* EFL_UI_TEXT_FACTORY_IMAGES_CLASS */ 28718#endif /* EFL_UI_TEXT_FACTORY_IMAGES_CLASS */
28698 28719
28720#ifndef EA_SPY_EFL_UI_TEXT_PART_CLASS
28721#define EA_SPY_EFL_UI_TEXT_PART_CLASS
28722
28723#endif /* EFL_UI_TEXT_PART_CLASS */
28724
28699#ifndef EA_SPY_EFL_UI_TEXTPATH_CLASS 28725#ifndef EA_SPY_EFL_UI_TEXTPATH_CLASS
28700#define EA_SPY_EFL_UI_TEXTPATH_CLASS 28726#define EA_SPY_EFL_UI_TEXTPATH_CLASS
28701 28727