q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7ae10303833f4ab29fc0e2dd58f6ecd38f45ccba

commit 7ae10303833f4ab29fc0e2dd58f6ecd38f45ccba
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Sun Dec 17 23:08:07 2017 +0100

    eolian cxx: pass state when getting decls
---
 src/bin/eolian_cxx/eolian_cxx.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
    using namespace efl::eolian::grammar::attributes;
 
    std::vector<function_def> functions;
-   Eina_Iterator *itr = eolian_declarations_get_by_file(fname.c_str());
+   Eina_Iterator *itr = eolian_declarations_get_by_file(opts.state, 
fname.c_str());
    /* const */ Eolian_Declaration *decl;
 
    // Build list of functions with their parameters

-- 


Reply via email to