TType::getCompleteString insert optional structure name
This commit is contained in:
parent
b84a520492
commit
8a0e12a107
1 changed files with 5 additions and 0 deletions
|
|
@ -2019,6 +2019,11 @@ public:
|
||||||
|
|
||||||
// Add struct/block members
|
// Add struct/block members
|
||||||
if (isStruct() && structure) {
|
if (isStruct() && structure) {
|
||||||
|
if (typeName) {
|
||||||
|
appendStr(" ");
|
||||||
|
appendStr(typeName->c_str());
|
||||||
|
appendStr(" ");
|
||||||
|
}
|
||||||
appendStr("{");
|
appendStr("{");
|
||||||
for (size_t i = 0; i < structure->size(); ++i) {
|
for (size_t i = 0; i < structure->size(); ++i) {
|
||||||
if (! (*structure)[i].type->hiddenMember()) {
|
if (! (*structure)[i].type->hiddenMember()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue