diff options
author | erw7 <erw7.github@gmail.com> | 2019-11-16 13:16:52 +0900 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-01-17 11:36:28 +0100 |
commit | 60c7eabb2feeb95f405deca6680bdd59113edcaa (patch) | |
tree | 56963404cc41b4d7ed84c7a63b73b8647c96de65 /src/nvim/os/pty_process_win.h | |
parent | 59ae38a9196d596e2fe511eeb216e314bfc3dac7 (diff) | |
download | rneovim-60c7eabb2feeb95f405deca6680bdd59113edcaa.tar.gz rneovim-60c7eabb2feeb95f405deca6680bdd59113edcaa.tar.bz2 rneovim-60c7eabb2feeb95f405deca6680bdd59113edcaa.zip |
Change enum to a name that follows naming convention
Diffstat (limited to 'src/nvim/os/pty_process_win.h')
-rw-r--r-- | src/nvim/os/pty_process_win.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/os/pty_process_win.h b/src/nvim/os/pty_process_win.h index c7eaa23b1b..04c8439c6c 100644 --- a/src/nvim/os/pty_process_win.h +++ b/src/nvim/os/pty_process_win.h @@ -9,9 +9,9 @@ #include "nvim/os/os_win_conpty.h" typedef enum { - PTY_TYPE_WINPTY, - PTY_TYPE_CONPTY -} pty_type_t; + kWinpty, + kConpty +} PtyType; typedef struct pty_process { Process process; @@ -21,7 +21,7 @@ typedef struct pty_process { winpty_t *winpty; conpty_t *conpty; } object; - pty_type_t type; + PtyType type; HANDLE finish_wait; HANDLE process_handle; uv_timer_t wait_eof_timer; @@ -41,7 +41,7 @@ static inline PtyProcess pty_process_init(Loop *loop, void *data) rv.width = 80; rv.height = 24; rv.object.winpty = NULL; - rv.type = PTY_TYPE_WINPTY; + rv.type = kWinpty; rv.finish_wait = NULL; rv.process_handle = NULL; return rv; |