浏览代码

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

Nicolas Cannasse 6 年之前
父节点
当前提交
edf53add9f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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