summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/type_impl.hpp
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2020-01-17 09:51:24 -0500
committerMike Blumenkrantz <zmike@samsung.com>2020-01-17 09:51:24 -0500
commit25e52f81066b79fdf758cbd97830a85fdb88c0a9 (patch)
tree4d1012b708758dad067bdd9d578643d957a068ed /src/lib/eolian_cxx/grammar/type_impl.hpp
parent4250494f11dc53f86f8364ec21fa26ea1f7ae9d2 (diff)
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
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/type_impl.hpp9
1 files changed, 8 insertions, 1 deletions
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
283 } 283 }
284 else 284 else
285 { 285 {
286 if(as_generator 286 if(regular.type_type == attributes::typedecl_type::struct_
287 || regular.type_type == attributes::typedecl_type::struct_opaque)
288 {
289 std::copy (c_type.begin(), c_type.end(), sink);
290 return true;
291 }
292 else
293 if(as_generator
287 ( 294 (
288 *(string << "_") 295 *(string << "_")
289 << string 296 << string