add len() for i8 and i16 arrays

This commit is contained in:
Volker Berlin 2019-08-26 20:08:18 +02:00
parent 8c1792329e
commit 724ead3742

View File

@ -60,6 +60,16 @@ public abstract class NonGC {
return null; // for compiler
}
@Import( js = "(a) => a.length" )
static int array_len_i8( Object array ) {
return 0; // for compiler
}
@Import( js = "(a) => a.length" )
static int array_len_i16( Object array ) {
return 0; // for compiler
}
@Import( js = "(a) => a.length" )
static int array_len_i32( Object array ) {
return 0; // for compiler