summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 17:18:02 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-07-09 17:18:02 +0100
commitaccdd50f50e18e5d2b3880f8ea49f2ebc123b7d8 (patch)
tree0466a5f5e86b74dcacada0e8481dd7da73458fd2 /src/bin/eolian_cxx
parent52e68f986e92bef0e72565b86ef739653fcfb2da (diff)
eolian: refactoring step five
Move from all instances of Eolian_Type to Eolian_Type*.
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/convert_comments.cc2
-rw-r--r--src/bin/eolian_cxx/type_lookup.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 5331b3cf4b..70f7e728e0 100644
--- a/src/bin/eolian_cxx/convert_comments.cc
+++ b/src/bin/eolian_cxx/convert_comments.cc
@@ -62,7 +62,7 @@ static std::string
62_comment_return(Eolian_Function function, 62_comment_return(Eolian_Function function,
63 Eolian_Function_Type rettype) 63 Eolian_Function_Type rettype)
64{ 64{
65 Eolian_Type rettypet = eolian_function_return_type_get(function, rettype); 65 Eolian_Type *rettypet = eolian_function_return_type_get(function, rettype);
66 const char *rettypes = NULL; 66 const char *rettypes = NULL;
67 if (rettypet) rettypes = eolian_type_c_type_get(rettypet); 67 if (rettypet) rettypes = eolian_type_c_type_get(rettypet);
68 std::string doc = ""; 68 std::string doc = "";
diff --git a/src/bin/eolian_cxx/type_lookup.hh b/src/bin/eolian_cxx/type_lookup.hh
index e185cd05ed..945586c9a0 100644
--- a/src/bin/eolian_cxx/type_lookup.hh
+++ b/src/bin/eolian_cxx/type_lookup.hh
@@ -20,7 +20,7 @@
20namespace eolian_cxx { 20namespace eolian_cxx {
21 21
22inline std::string 22inline std::string
23type_lookup(Eolian_Type type) 23type_lookup(Eolian_Type *type)
24{ 24{
25 if (type == NULL) 25 if (type == NULL)
26 return "void"; 26 return "void";