summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx/convert_comments.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_cxx/convert_comments.cc')
-rw-r--r--src/bin/eolian_cxx/convert_comments.cc7
1 files changed, 2 insertions, 5 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 += " ";