summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx/convert_comments.cc
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-09-03 15:35:53 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-09-03 15:42:01 +0100
commit3f1d29f1ec7a94eddb7cd72cd7758a8d468d81d3 (patch)
tree18749097a490eb5b7d1e229c67ea2fa18924bbc6 /src/bin/eolian_cxx/convert_comments.cc
parent7ae67814518942814e3cc44b7f272d4144ed7a96 (diff)
eolian: remove support for old style docs completely
Diffstat (limited to '')
-rw-r--r--src/bin/eolian_cxx/convert_comments.cc17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/bin/eolian_cxx/convert_comments.cc b/src/bin/eolian_cxx/convert_comments.cc
index 381786e8a1..94fed90c72 100644
--- a/src/bin/eolian_cxx/convert_comments.cc
+++ b/src/bin/eolian_cxx/convert_comments.cc
@@ -8,7 +8,6 @@ static std::string
8_comment_parameter(Eolian_Function_Parameter *param) 8_comment_parameter(Eolian_Function_Parameter *param)
9{ 9{
10 Eolian_Parameter_Dir direction = eolian_parameter_direction_get(param); 10 Eolian_Parameter_Dir direction = eolian_parameter_direction_get(param);
11 Eina_Stringshare *description = eolian_parameter_description_get(param);
12 11
13 std::string doc = "@param"; 12 std::string doc = "@param";
14 if (direction == EOLIAN_IN_PARAM) doc += " "; 13 if (direction == EOLIAN_IN_PARAM) doc += " ";
@@ -18,7 +17,8 @@ _comment_parameter(Eolian_Function_Parameter *param)
18 17
19 doc += safe_str(::eolian_parameter_name_get(param)); 18 doc += safe_str(::eolian_parameter_name_get(param));
20 doc += " "; 19 doc += " ";
21 doc += safe_str(description); 20 /* FIXME */
21 doc += safe_str(NULL);
22 22
23 return doc; 23 return doc;
24} 24}
@@ -38,10 +38,11 @@ _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, Eolian_Function_Type ftype) 41_comment_brief_and_params(Eolian_Function const& function, Eolian_Function_Type)
42{ 42{
43 std::string doc = ""; 43 std::string doc = "";
44 std::string func = safe_str(::eolian_function_description_get(&function, ftype)); 44 /* FIXME */
45 std::string func = safe_str(NULL);
45 if (func != "") 46 if (func != "")
46 { 47 {
47 doc += "@brief " + func + "\n\n"; 48 doc += "@brief " + func + "\n\n";
@@ -64,7 +65,8 @@ _comment_return(Eolian_Function const& function,
64 std::string doc = ""; 65 std::string doc = "";
65 std::string ret = safe_str(rettypes); 66 std::string ret = safe_str(rettypes);
66 if (rettypes) eina_stringshare_del(rettypes); 67 if (rettypes) eina_stringshare_del(rettypes);
67 std::string comment = safe_str(::eolian_function_return_comment_get(&function, rettype)); 68 /* FIXME */
69 std::string comment = safe_str(NULL);
68 if (ret != "void" && ret != "" && comment != "") 70 if (ret != "void" && ret != "" && comment != "")
69 { 71 {
70 doc = "@return " + comment; 72 doc = "@return " + comment;
@@ -73,9 +75,10 @@ _comment_return(Eolian_Function const& function,
73} 75}
74 76
75std::string 77std::string
76convert_comments_class(Eolian_Class const& klass) 78convert_comments_class(Eolian_Class const&)
77{ 79{
78 return safe_str(::eolian_class_description_get(&klass)); 80 /* FIXME */
81 return safe_str(NULL);
79} 82}
80 83
81std::string 84std::string