ソースを参照

[cpp] Use proper native externs instead of __cpp__ for Int64.is. Closes #5955

Hugh 8 年 前
コミット
c968df310e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      std/cpp/_std/haxe/Int64.hx

+ 1 - 1
std/cpp/_std/haxe/Int64.hx

@@ -170,7 +170,7 @@ abstract Int64( __Int64 ) from __Int64 to __Int64
 		Returns whether the value `val` is of type `haxe.Int64`
 	**/
 	public static #if !cppia inline #end function is( val : Dynamic ) : Bool
-      return untyped __cpp__("(cpp::Int64Struct::is({0}))",val);
+      return __Int64.is(val);
 
 	/**
 		Returns the high 32-bit word of `x`.