[Prev][Next][Index]

Re: Distinguishing a structure from a typedef



> 
> I tried using other approaches like using SgType::baseType() and
> SgType::getTrueType() but I couldn't get them to work. Does anyone has
> any suggestion on a better way of doing this? 

What about the true type approach did not work? It seems to me that if
you get true type (mask all descriptors, follow typedefs), you should
end up with an integer type for a and a bare structure typedef for b.
Is this not what happens?

[Isn't the end result for a struct a T_STRUCT or something? I'm not
very familiar with this stuff.]

/Andrew/



Follow-Up(s):