Made actionscript code generation ByteArray-aware.
(ByteArray is a special class for dealing with bytes. It does not extend the normal Array). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4452 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -109,6 +109,9 @@ public class GenUtil
|
||||
public static String simpleASName (Class<?> clazz)
|
||||
{
|
||||
if (clazz.isArray()) {
|
||||
if (Byte.TYPE.equals(clazz.getComponentType())) {
|
||||
return "ByteArray";
|
||||
}
|
||||
return "Array";
|
||||
} else if (clazz == Boolean.TYPE) {
|
||||
return "Boolean";
|
||||
|
||||
Reference in New Issue
Block a user