from panda3d.direct import DCTypedef
- class DCTypedef
This represents a single typedef declaration in the dc file. It assigns a particular type to a new name, just like a C typedef.
- get_number() int
Returns a unique index number associated with this typedef definition. This is defined implicitly when the .dc file(s) are read.
- is_bogus_typedef() bool
Returns true if the typedef has been flagged as a bogus typedef. This is set for typedefs that are generated by the parser as placeholder for missing typedefs, as when reading a partial file; it should not occur in a normal valid dc file.