if(typedef!=null) {
return bind(g,typedef.getDefinition(),nameHint);
}
// T = enum
IEnumDecl enumdef = t.queryInterface(IEnumDecl.class);
if(enumdef!=null) {
// TODO: we should probably check the size of the enum.
// there's no guarantee it's 32 bit.
return new TypeBinding( g.getTypeName(enumdef), NativeType.Int32, true );
}