summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-23 14:22:25 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-23 14:22:25 +0100
commit572b7aa92f44a954751be5fdfb896a1db5a7898b (patch)
tree5de60cdb95735c47034db1038975f08f299002d6
parent88cc1167e963af84bb80a1e42ccfb8a551fdfbf8 (diff)
eolian: eolian_function_parameter_get -> eolian_function_parameter_get_by_name
-rw-r--r--src/lib/eolian/Eolian.h2
-rw-r--r--src/lib/eolian/database_fill.c2
-rw-r--r--src/lib/eolian/database_function_api.c2
-rw-r--r--src/tests/eolian/eolian_parsing.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 7f290ff2b8..ba6793b94f 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -525,7 +525,7 @@ EAPI Eina_Bool eolian_function_is_virtual_pure(const Eolian_Function *function_i
525 * 525 *
526 * @ingroup Eolian 526 * @ingroup Eolian
527 */ 527 */
528EAPI const Eolian_Function_Parameter *eolian_function_parameter_get(const Eolian_Function *function_id, const char *param_name); 528EAPI const Eolian_Function_Parameter *eolian_function_parameter_get_by_name(const Eolian_Function *function_id, const char *param_name);
529 529
530/* 530/*
531 * @brief Returns an iterator to the parameter handles for a method/ctor/dtor. 531 * @brief Returns an iterator to the parameter handles for a method/ctor/dtor.
diff --git a/src/lib/eolian/database_fill.c b/src/lib/eolian/database_fill.c
index 1d010b6bf9..f6f0c6b699 100644
--- a/src/lib/eolian/database_fill.c
+++ b/src/lib/eolian/database_fill.c
@@ -158,7 +158,7 @@ _db_fill_accessor(Eolian_Function *foo_id, Eo_Class_Def *kls,
158 EINA_LIST_FOREACH(accessor->params, l, acc_param) 158 EINA_LIST_FOREACH(accessor->params, l, acc_param)
159 { 159 {
160 Eolian_Function_Parameter *desc = (Eolian_Function_Parameter*) 160 Eolian_Function_Parameter *desc = (Eolian_Function_Parameter*)
161 eolian_function_parameter_get(foo_id, acc_param->name); 161 eolian_function_parameter_get_by_name(foo_id, acc_param->name);
162 162
163 if (!desc) 163 if (!desc)
164 { 164 {
diff --git a/src/lib/eolian/database_function_api.c b/src/lib/eolian/database_function_api.c
index 75e06ad0a4..9a355e39a1 100644
--- a/src/lib/eolian/database_function_api.c
+++ b/src/lib/eolian/database_function_api.c
@@ -76,7 +76,7 @@ eolian_function_data_get(const Eolian_Function *fid, const char *key)
76} 76}
77 77
78EAPI const Eolian_Function_Parameter * 78EAPI const Eolian_Function_Parameter *
79eolian_function_parameter_get(const Eolian_Function *fid, const char *param_name) 79eolian_function_parameter_get_by_name(const Eolian_Function *fid, const char *param_name)
80{ 80{
81 EINA_SAFETY_ON_NULL_RETURN_VAL(fid, NULL); 81 EINA_SAFETY_ON_NULL_RETURN_VAL(fid, NULL);
82 Eina_List *itr; 82 Eina_List *itr;
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index ed47a0f4ba..c0fa3ebe13 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -190,7 +190,7 @@ START_TEST(eolian_consts)
190 190
191 /* Property */ 191 /* Property */
192 fail_if(!(fid = eolian_class_function_get_by_name(class, "a", EOLIAN_PROPERTY))); 192 fail_if(!(fid = eolian_class_function_get_by_name(class, "a", EOLIAN_PROPERTY)));
193 fail_if(!(param = eolian_function_parameter_get(fid, "buffer"))); 193 fail_if(!(param = eolian_function_parameter_get_by_name(fid, "buffer")));
194 fail_if(eolian_parameter_const_attribute_get(param, EINA_FALSE)); 194 fail_if(eolian_parameter_const_attribute_get(param, EINA_FALSE));
195 fail_if(!eolian_parameter_const_attribute_get(param, EINA_TRUE)); 195 fail_if(!eolian_parameter_const_attribute_get(param, EINA_TRUE));
196 196