forked from enlightenment/efl
eolian-cxx: Include Efl.h in generated headers.
This commit is contained in:
parent
916ddb46b8
commit
ab43773a43
|
@ -101,7 +101,7 @@ namespace_head(std::ostream& out, eo_class const& cls)
|
||||||
out << "namespace " << ns.substr(0, pos) << " { ";
|
out << "namespace " << ns.substr(0, pos) << " { ";
|
||||||
ns.erase(0, pos+2);
|
ns.erase(0, pos+2);
|
||||||
}
|
}
|
||||||
out << "namespace " << ns << " { " << endl << endl;
|
out << "namespace " << ns << " {" << endl << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +126,11 @@ include_headers(std::ostream& out,
|
||||||
eo_class const& cls EINA_UNUSED,
|
eo_class const& cls EINA_UNUSED,
|
||||||
eo_generator_options const& opts)
|
eo_generator_options const& opts)
|
||||||
{
|
{
|
||||||
out << "#include <Eo.hh>" << endl << endl
|
out << "extern \"C\"" << endl
|
||||||
|
<< "{" << endl
|
||||||
|
<< "#include <Efl.h>" << endl
|
||||||
|
<< "}" << endl
|
||||||
|
<< "#include <Eo.hh>" << endl << endl
|
||||||
<< "#include <eo_cxx_interop.hh>" << endl << endl
|
<< "#include <eo_cxx_interop.hh>" << endl << endl
|
||||||
<< "extern \"C\"" << endl
|
<< "extern \"C\"" << endl
|
||||||
<< "{" << endl;
|
<< "{" << endl;
|
||||||
|
|
Loading…
Reference in New Issue