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:
Ray Greenwell
2006-11-15 02:53:12 +00:00
parent 253d8ae90c
commit 2ad124322d
7 changed files with 16 additions and 1 deletions
@@ -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";