summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-17 23:08:07 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-17 23:08:07 +0100
commit7ae10303833f4ab29fc0e2dd58f6ecd38f45ccba (patch)
tree55a27f304683dea5ca16298f0dd4de38725d0985
parenta34aca27a0189f457adad26290c874590543e110 (diff)
eolian cxx: pass state when getting decls
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index c6514baf6c..67b73b2cc5 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -226,7 +226,7 @@ types_generate(std::string const& fname, options_type const& opts,
226 using namespace efl::eolian::grammar::attributes; 226 using namespace efl::eolian::grammar::attributes;
227 227
228 std::vector<function_def> functions; 228 std::vector<function_def> functions;
229 Eina_Iterator *itr = eolian_declarations_get_by_file(fname.c_str()); 229 Eina_Iterator *itr = eolian_declarations_get_by_file(opts.state, fname.c_str());
230 /* const */ Eolian_Declaration *decl; 230 /* const */ Eolian_Declaration *decl;
231 231
232 // Build list of functions with their parameters 232 // Build list of functions with their parameters