summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-16 15:57:39 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-16 15:57:39 +0200
commite5c9f5e76fb82a022b13bf9627cc9c00e006e685 (patch)
tree803da015e077d565a980b044153b4ea1f6a5c188 /src/bin
parentb3a870c7bb29461c6478fae9f51c211229b62d9d (diff)
eolian: rename eolian_event_c_name_get
This is for consistency with the new eolian_class_c_macro_get as well as for better clarity, as c_name_get is already provided by Object and refers to something else.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/headers.c2
-rw-r--r--src/bin/eolian/sources.c2
-rw-r--r--src/bin/eolian_js/main.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian/headers.c b/src/bin/eolian/headers.c
index 645d694..63f38fe 100644
--- a/src/bin/eolian/headers.c
+++ b/src/bin/eolian/headers.c
@@ -248,7 +248,7 @@ events:
248 itr = eolian_class_events_get(cl); 248 itr = eolian_class_events_get(cl);
249 EINA_ITERATOR_FOREACH(itr, ev) 249 EINA_ITERATOR_FOREACH(itr, ev)
250 { 250 {
251 Eina_Stringshare *evn = eolian_event_c_name_get(ev); 251 Eina_Stringshare *evn = eolian_event_c_macro_get(ev);
252 Eolian_Object_Scope evs = eolian_event_scope_get(ev); 252 Eolian_Object_Scope evs = eolian_event_scope_get(ev);
253 253
254 if (evs == EOLIAN_SCOPE_PRIVATE) 254 if (evs == EOLIAN_SCOPE_PRIVATE)
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c
index 37acd7e..d729b63 100644
--- a/src/bin/eolian/sources.c
+++ b/src/bin/eolian/sources.c
@@ -1054,7 +1054,7 @@ eo_gen_source_gen(const Eolian_Class *cl, Eina_Strbuf *buf)
1054 Eolian_Event *ev; 1054 Eolian_Event *ev;
1055 EINA_ITERATOR_FOREACH(itr, ev) 1055 EINA_ITERATOR_FOREACH(itr, ev)
1056 { 1056 {
1057 Eina_Stringshare *evn = eolian_event_c_name_get(ev); 1057 Eina_Stringshare *evn = eolian_event_c_macro_get(ev);
1058 eina_strbuf_append(buf, "EWAPI const Efl_Event_Description _"); 1058 eina_strbuf_append(buf, "EWAPI const Efl_Event_Description _");
1059 eina_strbuf_append(buf, evn); 1059 eina_strbuf_append(buf, evn);
1060 eina_strbuf_append(buf, " =\n EFL_EVENT_DESCRIPTION"); 1060 eina_strbuf_append(buf, " =\n EFL_EVENT_DESCRIPTION");
diff --git a/src/bin/eolian_js/main.cc b/src/bin/eolian_js/main.cc
index 71466a8..378f2bb 100644
--- a/src/bin/eolian_js/main.cc
+++ b/src/bin/eolian_js/main.cc
@@ -1041,7 +1041,7 @@ int main(int argc, char** argv)
1041 { 1041 {
1042 auto tp = eolian_event_type_get(&*first); 1042 auto tp = eolian_event_type_get(&*first);
1043 ss << " {\n"; 1043 ss << " {\n";
1044 ss << " static efl::eo::js::event_information ev_info{&constructor_from_eo, " << eolian_event_c_name_get(&*first); 1044 ss << " static efl::eo::js::event_information ev_info{&constructor_from_eo, " << eolian_event_c_macro_get(&*first);
1045 ss << ", &efl::eo::js::event_callback<"; 1045 ss << ", &efl::eo::js::event_callback<";
1046 ss << (tp ? _eolian_type_cpp_type_named_get(tp, class_name, need_name_getter) : "void"); 1046 ss << (tp ? _eolian_type_cpp_type_named_get(tp, class_name, need_name_getter) : "void");
1047 ss << ">, \"" << type_class_name(tp) << "\"};\n"; 1047 ss << ">, \"" << type_class_name(tp) << "\"};\n";