Quellcode durchsuchen

hl BytesData#b was renamed to bytes in dab467234b3773569f061b2d452db7a45b334071

Andy Li vor 9 Jahren
Ursprung
Commit
09baa84c8c
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      std/hl/_std/sys/io/Process.hx

+ 2 - 2
std/hl/_std/sys/io/Process.hx

@@ -44,7 +44,7 @@ private class Stdin extends haxe.io.Output {
 	}
 	}
 
 
 	public override function writeBytes( buf : haxe.io.Bytes, pos : Int, len : Int ) : Int {
 	public override function writeBytes( buf : haxe.io.Bytes, pos : Int, len : Int ) : Int {
-		var v = _stdin_write(p, buf.getData().b, pos, len);
+		var v = _stdin_write(p, buf.getData().bytes, pos, len);
 		if( v < 0 ) throw new haxe.io.Eof();
 		if( v < 0 ) throw new haxe.io.Eof();
 		return v;
 		return v;
 	}
 	}
@@ -73,7 +73,7 @@ private class Stdout extends haxe.io.Input {
 	}
 	}
 
 
 	public override function readBytes( str : haxe.io.Bytes, pos : Int, len : Int ) : Int {
 	public override function readBytes( str : haxe.io.Bytes, pos : Int, len : Int ) : Int {
-		var v = out ? _stdout_read(p,str.getData().b,pos,len) : _stderr_read(p,str.getData().b,pos,len);
+		var v = out ? _stdout_read(p,str.getData().bytes,pos,len) : _stderr_read(p,str.getData().bytes,pos,len);
 		if( v < 0 ) throw new haxe.io.Eof();
 		if( v < 0 ) throw new haxe.io.Eof();
 		return v;
 		return v;
 	}
 	}