fixed typed arrays indexed access

This commit is contained in:
Renaud Pawlak 2020-02-08 08:56:29 +01:00
parent beef1b6731
commit 9a557c1ea3
4 changed files with 4 additions and 4 deletions

View File

@ -203,4 +203,4 @@
<name>JSweet</name>
<url>http://www.jsweet.org</url>
</organization>
</project>
</project>

View File

@ -180,7 +180,7 @@ public class Int16Array extends Iterable<java.lang.Double> {
* @param index The index of the location to set.
* @param value The value to set.
*/
native public void set(double index, double value);
native public void $set(double index, double value);
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.

View File

@ -180,7 +180,7 @@ public class Int32Array extends Iterable<java.lang.Double> {
* @param index The index of the location to set.
* @param value The value to set.
*/
native public void set(double index, double value);
native public void $set(double index, double value);
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.

View File

@ -180,7 +180,7 @@ public class Int8Array extends Iterable<java.lang.Double> {
* @param index The index of the location to set.
* @param value The value to set.
*/
native public void set(double index, double value);
native public void $set(double index, double value);
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.