Haxe 3.4 compile fix
This commit is contained in:
@@ -70,7 +70,7 @@ abstract Float32Array(JSFloat32Array) from JSFloat32Array to JSFloat32Array
|
||||
|
||||
inline public function toBytes():haxe.io.Bytes
|
||||
{
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUint8Array(this.buffer));
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUInt8Array(this.buffer));
|
||||
}
|
||||
|
||||
inline function toString()
|
||||
|
||||
@@ -69,7 +69,7 @@ abstract Float64Array(JSFloat64Array) from JSFloat64Array to JSFloat64Array
|
||||
|
||||
inline public function toBytes():haxe.io.Bytes
|
||||
{
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUint8Array(this.buffer));
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUInt8Array(this.buffer));
|
||||
}
|
||||
|
||||
function toString()
|
||||
|
||||
@@ -69,7 +69,7 @@ abstract Int16Array(JSInt16Array) from JSInt16Array to JSInt16Array
|
||||
|
||||
inline public function toBytes():haxe.io.Bytes
|
||||
{
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUint8Array(this.buffer));
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUInt8Array(this.buffer));
|
||||
}
|
||||
|
||||
inline function toString()
|
||||
|
||||
@@ -69,7 +69,7 @@ abstract Int32Array(JSInt32Array) from JSInt32Array to JSInt32Array
|
||||
|
||||
inline public function toBytes():haxe.io.Bytes
|
||||
{
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUint8Array(this.buffer));
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUInt8Array(this.buffer));
|
||||
}
|
||||
|
||||
inline function toString()
|
||||
|
||||
@@ -67,7 +67,7 @@ abstract Int8Array(JSInt8Array) from JSInt8Array to JSInt8Array
|
||||
|
||||
inline public function toBytes():haxe.io.Bytes
|
||||
{
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUint8Array(this.buffer));
|
||||
return @:privateAccess new haxe.io.Bytes(cast new JSUInt8Array(this.buffer));
|
||||
}
|
||||
|
||||
inline function toString()
|
||||
|
||||
Reference in New Issue
Block a user