fix some implicit casts

This commit is contained in:
dpomier
2020-02-04 10:02:48 +01:00
committed by Joshua Granick
parent 72dd60f1c8
commit 62ed5c2cb9
9 changed files with 27 additions and 9 deletions

View File

@@ -9,8 +9,10 @@ import js.html.Int16Array as JSInt16Array;
import js.html.Uint8Array as JSUInt8Array;
#end
@:forward
abstract Int16Array(JSInt16Array) from JSInt16Array to JSInt16Array to ArrayBufferView
abstract Int16Array(JSInt16Array) from JSInt16Array to JSInt16Array
{
@:to inline function toArrayBufferView ():ArrayBufferView return this;
public inline static var BYTES_PER_ELEMENT:Int = 2;
@:generic