summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx/eolian_wrappers.hh
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-08 12:09:56 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-08 12:10:20 +0100
commit825349c7b8a7edb54d24b74356ec597f27e5d18a (patch)
tree70484c067c277bd64fbe50aa8a122696c7134b04 /src/bin/eolian_cxx/eolian_wrappers.hh
parentef65806ce4dc7560d9027b951cf707e7aae4eb86 (diff)
eolian: improve function_full_c_name_get API
It's now generalized to work properly with legacy functions as well as correctly append suffixes. Thus, it can be easily used with the documentation generator and in other places. @feature
Diffstat (limited to '')
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index 9ea4f4cf15..0b78020188 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -164,7 +164,7 @@ function_name(Eolian_Function const& func)
164inline std::string 164inline std::string
165function_impl(Eolian_Function const& func) 165function_impl(Eolian_Function const& func)
166{ 166{
167 const char *s = ::eolian_function_full_c_name_get(&func); 167 const char *s = ::eolian_function_full_c_name_get(&func, EOLIAN_METHOD, EINA_FALSE);
168 std::string ret(s); 168 std::string ret(s);
169 ::eina_stringshare_del(s); 169 ::eina_stringshare_del(s);
170 return ret; 170 return ret;