Browse Source

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

Nicolas Cannasse 6 years ago
parent
commit
edf53add9f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/hl/_std/Date.hx

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

@@ -183,10 +183,10 @@ import hl.Ref;
 		return 0.;
 		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 {}
 	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 {}
 	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
 	@:hlNative