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.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/eolian_cxx/convert_comments.cc b/src/bin/eolian_cxx/convert_comments.cc
index 87b0f350c5..c520eb887a 100644
--- a/src/bin/eolian_cxx/convert_comments.cc
+++ b/src/bin/eolian_cxx/convert_comments.cc
@@ -38,11 +38,10 @@ _comment_parameters_list(Eina_Iterator *params)
38} 38}
39 39
40static std::string 40static std::string
41_comment_brief_and_params(Eolian_Function const& function, 41_comment_brief_and_params(Eolian_Function const& function, Eolian_Function_Type ftype = EOLIAN_METHOD)
42 const char *key = EOLIAN_COMMENT)
43{ 42{
44 std::string doc = ""; 43 std::string doc = "";
45 std::string func = safe_str(::eolian_function_description_get(&function, key)); 44 std::string func = safe_str(::eolian_function_description_get(&function, ftype));
46 if (func != "") 45 if (func != "")
47 { 46 {
48 doc += "@brief " + func + "\n\n"; 47 doc += "@brief " + func + "\n\n";