mono: blacklist functions related to native event
authorYeongjong Lee <yj34.lee@samsung.com>
Fri, 1 Nov 2019 19:01:49 +0000 (16:01 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:41 +0000 (11:20 +0900)
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

src/bin/eolian_mono/eolian/mono/blacklist.hh

index 060990c..07c365f 100644 (file)
@@ -64,7 +64,12 @@ inline bool is_function_blacklisted(std::string const& c_name)
     || c_name == "efl_ui_list_model_size_get"
     || c_name == "efl_ui_list_relayout_layout_do"
     || c_name == "efl_event_callback_forwarder_priority_add" // Depends on constants support.
+    || c_name == "efl_event_callback_forwarder_del"
     || c_name == "efl_ui_text_context_menu_item_add"
+    || c_name == "efl_ui_widget_input_event_handler"
+    || c_name == "efl_access_object_event_handler_add"
+    || c_name == "efl_access_object_event_handler_del"
+    || c_name == "efl_access_object_event_emit"
     ;
 }