forked from enlightenment/efl
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
This commit is contained in:
parent
4250494f11
commit
25e52f8106
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue