Browse Source

Lua : FileHandle.write

Justin Donaldson 9 năm trước cách đây
mục cha
commit
3e5f74b5fc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      std/lua/FileHandle.hx

+ 1 - 0
std/lua/FileHandle.hx

@@ -28,6 +28,7 @@ extern class FileHandle extends UserData {
 	public function flush() : Void;
 	public function read(arg : Rest<EitherType<ReadArgument,Int>>) : String;
 	public function close() : Void;
+	public function write(str : String) : Void;
 
 	@:overload(function () : Int {})
 	public function seek(arg : String, pos : Int) : Void;