zmike pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=25e52f81066b79fdf758cbd97830a85fdb88c0a9
commit 25e52f81066b79fdf758cbd97830a85fdb88c0a9 Author: Felipe Magno de Almeida <[email protected]> Date: Fri Jan 17 09:51:24 2020 -0500 C++: Fix use of @c_type tag in struct definition Summary: Depends on D11090 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11099 --- src/lib/eolian_cxx/grammar/type_impl.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/lib/eolian_cxx/grammar/type_impl.hpp b/src/lib/eolian_cxx/grammar/type_impl.hpp index 29d28857f9..b43641a052 100644 --- a/src/lib/eolian_cxx/grammar/type_impl.hpp +++ b/src/lib/eolian_cxx/grammar/type_impl.hpp @@ -283,7 +283,14 @@ struct visitor_generate } else { - if(as_generator + if(regular.type_type == attributes::typedecl_type::struct_ + || regular.type_type == attributes::typedecl_type::struct_opaque) + { + std::copy (c_type.begin(), c_type.end(), sink); + return true; + } + else + if(as_generator ( *(string << "_") << string --
