summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-23 10:07:05 -0300
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-23 17:33:47 +0200
commitc4572d3f791b3ae634c63f21ed05b17a1754a894 (patch)
tree2c4eaa2f19210e50b65428f7f3f8b7926b254bb5 /src/bin/eolian_mono
parente5ef9057b5c8bc5a2df4fe4d1989105bc40d25d2 (diff)
efl_mono: Fix events after Event_Description rename.
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian/mono/blacklist.hh2
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh2
-rw-r--r--src/bin/eolian_mono/eolian/mono/struct_definition.hh2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/blacklist.hh b/src/bin/eolian_mono/eolian/mono/blacklist.hh
index 1db4c6108a..a436bcc203 100644
--- a/src/bin/eolian_mono/eolian/mono/blacklist.hh
+++ b/src/bin/eolian_mono/eolian/mono/blacklist.hh
@@ -56,7 +56,7 @@ inline bool is_function_blacklisted(std::string const& c_name)
56// Blacklist structs that require some kind of manual binding. 56// Blacklist structs that require some kind of manual binding.
57inline bool is_struct_blacklisted(std::string const& full_name) 57inline bool is_struct_blacklisted(std::string const& full_name)
58{ 58{
59 return full_name == "Efl.Event.Description" 59 return full_name == "Efl.Event_Description"
60 || full_name == "Eina.Binbuf" 60 || full_name == "Eina.Binbuf"
61 || full_name == "Eina.Strbuf" 61 || full_name == "Eina.Strbuf"
62 || full_name == "Eina.Slice" 62 || full_name == "Eina.Slice"
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index e85654756d..c25b1d8e34 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -500,7 +500,7 @@ struct klass
500 << scope_tab << scope_tab << "if (!event_cb_count.TryGetValue(key, out event_count))\n" 500 << scope_tab << scope_tab << "if (!event_cb_count.TryGetValue(key, out event_count))\n"
501 << scope_tab << scope_tab << scope_tab << "event_cb_count[key] = event_count;\n" 501 << scope_tab << scope_tab << scope_tab << "event_cb_count[key] = event_count;\n"
502 << scope_tab << scope_tab << "if (event_count == 1) {\n" 502 << scope_tab << scope_tab << "if (event_count == 1) {\n"
503 << scope_tab << scope_tab << scope_tab << "efl.kw_event.Description desc = new efl.kw_event.Description(key);\n" 503 << scope_tab << scope_tab << scope_tab << "efl.Event_Description desc = new efl.Event_Description(key);\n"
504 << scope_tab << scope_tab << scope_tab << "bool result = efl.eo.Globals.efl_event_callback_del(handle, desc, evt_delegate, System.IntPtr.Zero);\n" 504 << scope_tab << scope_tab << scope_tab << "bool result = efl.eo.Globals.efl_event_callback_del(handle, desc, evt_delegate, System.IntPtr.Zero);\n"
505 << scope_tab << scope_tab << scope_tab << "if (!result) {\n" 505 << scope_tab << scope_tab << scope_tab << "if (!result) {\n"
506 << scope_tab << scope_tab << scope_tab << scope_tab << "eina.Log.Error($\"Failed to remove event proxy for event {key}\");\n" 506 << scope_tab << scope_tab << scope_tab << scope_tab << "eina.Log.Error($\"Failed to remove event proxy for event {key}\");\n"
diff --git a/src/bin/eolian_mono/eolian/mono/struct_definition.hh b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
index 618b433213..42d2f0d711 100644
--- a/src/bin/eolian_mono/eolian/mono/struct_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
@@ -368,7 +368,7 @@ struct struct_binding_conversion_functions_generator
368 // Open conversion class 368 // Open conversion class
369 if (!as_generator 369 if (!as_generator
370 ( 370 (
371 "internal static class " << string << "_StructConversion\n{\n" 371 "public static class " << string << "_StructConversion\n{\n"
372 ) 372 )
373 .generate(sink, struct_.cxx_name, context)) 373 .generate(sink, struct_.cxx_name, context))
374 return false; 374 return false;