summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-18 17:15:50 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-21 09:26:05 +0100
commit452497eac5f020de3b5986ecde9f6efb21e8e9f3 (patch)
treef0f14acb8c0bb2d309520adae4699d5aadda4c7f /src/bin/eolian_cxx
parent423cfb5f61330bca8e53e9162aac138499b90e19 (diff)
eolian: remove a bunch of pointless stringshare refs + fix in lua
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/convert_comments.cc2
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian_cxx/convert_comments.cc b/src/bin/eolian_cxx/convert_comments.cc
index c520eb887a..43aadcdc9f 100644
--- a/src/bin/eolian_cxx/convert_comments.cc
+++ b/src/bin/eolian_cxx/convert_comments.cc
@@ -16,7 +16,7 @@ _comment_parameter(Eolian_Function_Parameter *param)
16 else if (direction == EOLIAN_INOUT_PARAM) doc += "[inout] "; 16 else if (direction == EOLIAN_INOUT_PARAM) doc += "[inout] ";
17 else assert(false); 17 else assert(false);
18 18
19 doc += safe_strshare(::eolian_parameter_name_get(param)); 19 doc += safe_str(::eolian_parameter_name_get(param));
20 doc += " "; 20 doc += " ";
21 doc += safe_str(description); 21 doc += safe_str(description);
22 22
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index c3a093a11b..5912c3ef00 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -270,7 +270,7 @@ property_is_setter(Eolian_Function const& func)
270inline std::string 270inline std::string
271parameter_name(Eolian_Function_Parameter const& parameter) 271parameter_name(Eolian_Function_Parameter const& parameter)
272{ 272{
273 return safe_strshare(::eolian_parameter_name_get(&parameter)) + "_"; 273 return safe_str(::eolian_parameter_name_get(&parameter)) + "_";
274} 274}
275 275
276inline bool 276inline bool