// Add aliases in Type::*, NativeType::* and FFI::TYPE_*
//
for (Map.Entry<String, IRubyObject> c : builtinClass.getConstantMap().entrySet()) {
if (c.getValue() instanceof Type.Builtin) {
typeClass.defineConstant(c.getKey(), c.getValue());
nativeType.defineConstant(c.getKey(), c.getValue());
ffiModule.defineConstant("TYPE_" + c.getKey(), c.getValue());
}
}
RubyClass arrayTypeClass = typeClass.defineClassUnder("Array", typeClass,