Ver Fonte

hl BytesData#b was renamed to bytes in dab467234b3773569f061b2d452db7a45b334071

Andy Li há 9 anos atrás
pai
commit
09baa84c8c
1 ficheiros alterados com 2 adições e 2 exclusões
  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 {
-		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();
 		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 {
-		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();
 		return v;
 	}