Browse Source

fix: date_get_utc_inf requires 1.11 (close https://github.com/HaxeFoundation/hashlink/issues/293)

Nicolas Cannasse 6 năm trước cách đây
mục cha
commit
edf53add9f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      std/hl/_std/Date.hx

+ 2 - 2
std/hl/_std/Date.hx

@@ -183,10 +183,10 @@ import hl.Ref;
 		return 0.;
 	}
 
-	@:hlNative(1.11)
+	@:hlNative
 	static function date_get_inf(t:Int, year:Ref<Int>, month:Ref<Int>, day:Ref<Int>, hours:Ref<Int>, minutes:Ref<Int>, seconds:Ref<Int>, wday:Ref<Int>):Void {}
 
-	@:hlNative
+	@:hlNative(1.11)
 	static function date_get_utc_inf(t:Int, year:Ref<Int>, month:Ref<Int>, day:Ref<Int>, hours:Ref<Int>, minutes:Ref<Int>, seconds:Ref<Int>, wday:Ref<Int>):Void {}
 
 	@:hlNative