mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
rename enum io_mode -> io_mode_t; make io_data_t::io_mode that type
This commit is contained in:
parent
214ef3dd0b
commit
146a353085
6
io.h
6
io.h
@ -8,7 +8,7 @@ using std::tr1::shared_ptr;
|
|||||||
/**
|
/**
|
||||||
Describes what type of IO operation an io_data_t represents
|
Describes what type of IO operation an io_data_t represents
|
||||||
*/
|
*/
|
||||||
enum io_mode
|
enum io_mode_t
|
||||||
{
|
{
|
||||||
IO_FILE, IO_PIPE, IO_FD, IO_BUFFER, IO_CLOSE
|
IO_FILE, IO_PIPE, IO_FD, IO_BUFFER, IO_CLOSE
|
||||||
};
|
};
|
||||||
@ -26,7 +26,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
/** Type of redirect */
|
/** Type of redirect */
|
||||||
int io_mode;
|
io_mode_t io_mode;
|
||||||
/** FD to redirect */
|
/** FD to redirect */
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ public:
|
|||||||
|
|
||||||
io_data_t() :
|
io_data_t() :
|
||||||
out_buffer(),
|
out_buffer(),
|
||||||
io_mode(0),
|
io_mode(IO_FILE),
|
||||||
fd(0),
|
fd(0),
|
||||||
param1(),
|
param1(),
|
||||||
param2(),
|
param2(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user