summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/convert_comments.cc7
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh3
2 files changed, 3 insertions, 7 deletions
diff --git a/src/bin/eolian_cxx/convert_comments.cc b/src/bin/eolian_cxx/convert_comments.cc
index 4f13048044..87b0f350c5 100644
--- a/src/bin/eolian_cxx/convert_comments.cc
+++ b/src/bin/eolian_cxx/convert_comments.cc
@@ -7,11 +7,8 @@ namespace eolian_cxx {
7static std::string 7static std::string
8_comment_parameter(Eolian_Function_Parameter *param) 8_comment_parameter(Eolian_Function_Parameter *param)
9{ 9{
10 Eolian_Parameter_Dir direction; 10 Eolian_Parameter_Dir direction = eolian_parameter_direction_get(param);
11 Eina_Stringshare *description; 11 Eina_Stringshare *description = eolian_parameter_description_get(param);
12
13 ::eolian_parameter_information_get
14 (param, &direction, NULL, NULL, &description);
15 12
16 std::string doc = "@param"; 13 std::string doc = "@param";
17 if (direction == EOLIAN_IN_PARAM) doc += " "; 14 if (direction == EOLIAN_IN_PARAM) doc += " ";
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index 7f10b49e0d..c3a093a11b 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -276,8 +276,7 @@ parameter_name(Eolian_Function_Parameter const& parameter)
276inline bool 276inline bool
277parameter_is_out(Eolian_Function_Parameter const& parameter) 277parameter_is_out(Eolian_Function_Parameter const& parameter)
278{ 278{
279 Eolian_Parameter_Dir direction; 279 Eolian_Parameter_Dir direction = eolian_parameter_direction_get(&parameter);
280 ::eolian_parameter_information_get(&parameter, &direction, NULL, NULL, NULL);
281 return direction == EOLIAN_OUT_PARAM || direction == EOLIAN_INOUT_PARAM; 280 return direction == EOLIAN_OUT_PARAM || direction == EOLIAN_INOUT_PARAM;
282} 281}
283 282