I understand the concept of enum and typdef. But what I don't understand is how the second code typedef relates to the enumeration under it. I would have that that the ; at the end of the typedef would have killed any potential relationship between the two.
See that's what I was thinking, that they can't relate. But, in the documentation for this SDK, it says that SomeType is an enum. And like you guys, I would think there is no way the enum can be a part of the typedef.
Also, if they are not, then what is the point of defining the enum? It has not been named thus you would not even be able to use it right?