Browse Source

Lua: Update lua.StringTools with another override

Justin Donaldson 10 years ago
parent
commit
ba576d674c
1 changed files with 1 additions and 4 deletions
  1. 1 4
      std/lua/StringTools.hx

+ 1 - 4
std/lua/StringTools.hx

@@ -12,11 +12,8 @@ extern class StringTools {
 	public static function byte(str : String, ?index : Int) : Int;
 	public static function format(str : String, ?e1 : String, ?e2 : String, ?e3 : String, ?e4 : String): String;
 
+	@:overload(   function     (str : String, pattern : String, replace : String->Void,   ?n : Int): String {})
 	@:overload(   function     (str : String, pattern : String, replace : String->String, ?n : Int): String {})
 	public static function gsub(str : String, pattern : String, replace : String,		  ?n : Int): String;
-
-
-	@:overload(function(pos:Int):String{})
-	//TODO: The rest
 }