summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx/eolian_wrappers.hh
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 20:59:31 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 20:59:31 +0100
commit580aea04cd928a2ab285c72b0b71dd8033218acb (patch)
tree8156261ed64a189411f2f8cdf90734edb6e4ec14 /src/bin/eolian_cxx/eolian_wrappers.hh
parent012b586c8b280272e0dca725028c2ec0b1d8be72 (diff)
eolian: refactoring step six
Move Eolian_Function as well, plus fix const correctness of several API funcs.
Diffstat (limited to 'src/bin/eolian_cxx/eolian_wrappers.hh')
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index 3893fefa0e..f7a8163d92 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -159,13 +159,13 @@ class_list_all()
159inline std::string 159inline std::string
160function_name(Eolian_Function const& func) 160function_name(Eolian_Function const& func)
161{ 161{
162 return safe_str(::eolian_function_name_get(func)); 162 return safe_str(::eolian_function_name_get(&func));
163} 163}
164 164
165inline std::string 165inline std::string
166function_impl(Eolian_Function const& func, std::string const& prefix) 166function_impl(Eolian_Function const& func, std::string const& prefix)
167{ 167{
168 const char *s = ::eolian_function_full_c_name_get(func, prefix.c_str()); 168 const char *s = ::eolian_function_full_c_name_get(&func, prefix.c_str());
169 std::string ret(s); 169 std::string ret(s);
170 ::eina_stringshare_del(s); 170 ::eina_stringshare_del(s);
171 return ret; 171 return ret;
@@ -174,14 +174,14 @@ function_impl(Eolian_Function const& func, std::string const& prefix)
174inline Eolian_Function_Type 174inline Eolian_Function_Type
175function_type(Eolian_Function const& func) 175function_type(Eolian_Function const& func)
176{ 176{
177 return ::eolian_function_type_get(func); 177 return ::eolian_function_type_get(&func);
178} 178}
179 179
180inline efl::eolian::eolian_type_instance 180inline efl::eolian::eolian_type_instance
181function_return_type(Eolian_Function const& func, Eolian_Function_Type func_type = method_t::value) 181function_return_type(Eolian_Function const& func, Eolian_Function_Type func_type = method_t::value)
182{ 182{
183 return type_lookup 183 return type_lookup
184 (::eolian_function_return_type_get(func, func_type)); 184 (::eolian_function_return_type_get(&func, func_type));
185} 185}
186 186
187inline efl::eolian::eolian_type_instance 187inline efl::eolian::eolian_type_instance