summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-28 21:32:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 15:01:45 +0900
commit2b0805ddce66903c73c82047772f695b70c3b810 (patch)
tree08cd3fe7f63032fa383b358fbb0642a4aa044cc2 /src/bin
parent052d9dda448abe4e12c3f4d1a234eb6896f6487b (diff)
cxx: Define types after forward declarations
This is useful if the types refer to the current class.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index f3f3c36610..3720aa9251 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -161,13 +161,13 @@ generate(const Eolian_Class* klass, eolian_cxx::options_type const& opts,
161 , efl::eolian::grammar::context_null{}); 161 , efl::eolian::grammar::context_null{});
162 162
163 std::tuple<std::string, std::set<std::string>&, std::set<std::string>& 163 std::tuple<std::string, std::set<std::string>&, std::set<std::string>&
164 , std::string const&
165 , std::vector<efl::eolian::grammar::attributes::klass_def>& 164 , std::vector<efl::eolian::grammar::attributes::klass_def>&
166 , std::set<efl::eolian::grammar::attributes::klass_def> const& 165 , std::set<efl::eolian::grammar::attributes::klass_def> const&
166 , std::string const&
167 , std::vector<efl::eolian::grammar::attributes::klass_def>& 167 , std::vector<efl::eolian::grammar::attributes::klass_def>&
168 , std::vector<efl::eolian::grammar::attributes::klass_def>& 168 , std::vector<efl::eolian::grammar::attributes::klass_def>&
169 > attributes 169 > attributes
170 {guard_name, c_headers, cpp_headers, cpp_types_header, klasses, forward_klasses, klasses, klasses}; 170 {guard_name, c_headers, cpp_headers, klasses, forward_klasses, cpp_types_header, klasses, klasses};
171 171
172 if(opts.out_file == "-") 172 if(opts.out_file == "-")
173 { 173 {