summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-11-01 16:01:49 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-11-01 16:46:07 -0300
commitbe4f8b253ba7cd274964ca4b9fd8d5b08414aa97 (patch)
tree441cd79a7085ddffee74100eb9e7fdbb466159b2
parentbd6876c97eb313f6ce5ece0b2b380129f8d76fb1 (diff)
mono: blacklist functions related to native event
Summary: `efl_event_callback_forwarder_priority_del` => It can be replaced with `obj.XXXEvent -= callback;`. Furthermore, `efl_event_callback_forwarder_priority_add` is already in blacklist. `efl_ui_widget_input_event_handler` => It can be replaced with `obj.DownEvent`, `obj.UpEvent` and `obj.PointerWhellEvent`. `efl_access_object_event_handler_add` `efl_access_object_event_handler_del` `efl_access_object_event_emit` => They are functions to handle global event related to access(E.g. `elm_atspi_bridge`). It should be generated to `static event` in C#. Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, Jaehyun_Cho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10585
-rw-r--r--src/bin/eolian_mono/eolian/mono/blacklist.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/blacklist.hh b/src/bin/eolian_mono/eolian/mono/blacklist.hh
index 060990c8c9..07c365fbf6 100644
--- a/src/bin/eolian_mono/eolian/mono/blacklist.hh
+++ b/src/bin/eolian_mono/eolian/mono/blacklist.hh
@@ -64,7 +64,12 @@ inline bool is_function_blacklisted(std::string const& c_name)
64 || c_name == "efl_ui_list_model_size_get" 64 || c_name == "efl_ui_list_model_size_get"
65 || c_name == "efl_ui_list_relayout_layout_do" 65 || c_name == "efl_ui_list_relayout_layout_do"
66 || c_name == "efl_event_callback_forwarder_priority_add" // Depends on constants support. 66 || c_name == "efl_event_callback_forwarder_priority_add" // Depends on constants support.
67 || c_name == "efl_event_callback_forwarder_del"
67 || c_name == "efl_ui_text_context_menu_item_add" 68 || c_name == "efl_ui_text_context_menu_item_add"
69 || c_name == "efl_ui_widget_input_event_handler"
70 || c_name == "efl_access_object_event_handler_add"
71 || c_name == "efl_access_object_event_handler_del"
72 || c_name == "efl_access_object_event_emit"
68 ; 73 ;
69} 74}
70 75