Selaa lähdekoodia

make concat parameter optional (= copy)

Nicolas Cannasse 15 vuotta sitten
vanhempi
commit
468bfa48b1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      std/flash9/Vector.hx

+ 1 - 1
std/flash9/Vector.hx

@@ -13,7 +13,7 @@ extern class Vector<T> implements ArrayAccess<T> {
 	var fixed : Bool;
 	var fixed : Bool;
 
 
 	function new( ?length : UInt, ?fixed : Bool ) : Void;
 	function new( ?length : UInt, ?fixed : Bool ) : Void;
-	function concat( a : Vector<T> ) : Vector<T>;
+	function concat( ?a : Vector<T> ) : Vector<T>;
 	function join( sep : String ) : String;
 	function join( sep : String ) : String;
 	function pop() : Null<T>;
 	function pop() : Null<T>;
 	function push(x : T) : Int;
 	function push(x : T) : Int;