فهرست منبع

StringBuf fix

Simon Krajewski 13 سال پیش
والد
کامیت
d6f3177537
1فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 6 6
      std/StringBuf.hx

+ 6 - 6
std/StringBuf.hx

@@ -33,14 +33,14 @@ extern class StringBuf {
 	public function new():Void {
 		
 	}
-	public inline function add( x : Dynamic ):String {
-		return untyped __this__ += x;
+	public inline function add( x : Dynamic ):Void {
+		untyped __this__ += x;
 	}
-	public inline function addChar( i : Int ):String {
-		return untyped __this__ += String.fromCharCode(i);
+	public inline function addChar( i : Int ):Void {
+		untyped __this__ += String.fromCharCode(i);
 	}
-	public inline function addSub( s : String, pos : Int, ?len : Int):String {
-		return untyped __this__ += s.substr(pos, len);
+	public inline function addSub( s : String, pos : Int, ?len : Int):Void {
+		untyped __this__ += s.substr(pos, len);
 	}
 	public inline function toString():String {
 		return untyped __this__;