浏览代码

[cs] Force inline of cs.Lib.nativeArray. Closes #3579

Cauê Waneck 11 年之前
父节点
当前提交
ddaae126aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/cs/Lib.hx

+ 1 - 1
std/cs/Lib.hx

@@ -57,7 +57,7 @@ class Lib
 
 
 		If equalLengthRequired is true, the result might be a copy of an array with the correct size.
 		If equalLengthRequired is true, the result might be a copy of an array with the correct size.
 	**/
 	**/
-	inline public static function nativeArray<T>(arr:Array<T>, equalLengthRequired:Bool):NativeArray<T>
+	@:extern inline public static function nativeArray<T>(arr:Array<T>, equalLengthRequired:Bool):NativeArray<T>
 	{
 	{
 		var ret = new cs.NativeArray(arr.length);
 		var ret = new cs.NativeArray(arr.length);
 		p_nativeArray(arr,ret);
 		p_nativeArray(arr,ret);