@@ -91,7 +91,7 @@ package hl;
return 0;
}
- #if (hl_ver >= version("1.10"))
+ #if (hl_ver >= version("1.10.0"))
@:hlNative("std","bytes_compare16")
public function compare16( bytes : Bytes, size : Int ) : Int {
@@ -60,7 +60,7 @@ class Format {
/**
Decode any image data into ARGB pixels
**/
@:hlNative("fmt","dxt_decode")
public static function decodeDXT( src : hl.Bytes, dst : hl.Bytes, width : Int, height : Int, dxtFormat : Int ) : Bool {
return false;
@@ -198,7 +198,7 @@ class String {
var s = Std.downcast(v, String);
if( s == null )
return hl.Api.comparePointer(this, v);
var v = bytes.compare16(s.bytes, length < s.length ? length : s.length);
#else
var v = bytes.compare(0, s.bytes, 0, (length < s.length ? length : s.length) << 1);