Browse Source

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

Cauê Waneck 11 years ago
parent
commit
ddaae126aa
1 changed files with 1 additions and 1 deletions
  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.
 	**/
-	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);
 		p_nativeArray(arr,ret);