Browse Source

[cs] use haxe instead of @:functionCode for Reflect.compare

Dan Korostelev 11 years ago
parent
commit
c922ef88bd
1 changed files with 1 additions and 4 deletions
  1. 1 4
      std/cs/_std/Reflect.hx

+ 1 - 4
std/cs/_std/Reflect.hx

@@ -140,12 +140,9 @@ import cs.internal.Function;
 		return false;
 		return false;
 	}
 	}
 
 
-	@:functionCode('
-		return haxe.lang.Runtime.compare(a, b);
-	')
 	public static function compare<T>( a : T, b : T ) : Int
 	public static function compare<T>( a : T, b : T ) : Int
 	{
 	{
-		return 0;
+		return cs.internal.Runtime.compare(a, b);
 	}
 	}
 
 
 	@:functionCode('
 	@:functionCode('