mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Refactor SHELL_* defines into enum typedef
The SHELL_* defines are the bitflags that can be passed to `mch_call_shell`. The enum is defined in 'os/shell.h', where all shell-related functions will eventually be defined.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#ifndef NEOVIM_OS_UNIX_H
|
||||
#define NEOVIM_OS_UNIX_H
|
||||
|
||||
#include "os/shell.h"
|
||||
|
||||
/* os_unix.c */
|
||||
void mch_write(char_u *s, int len);
|
||||
void mch_startjmp(void);
|
||||
@@ -42,7 +45,7 @@ int mch_screenmode(char_u *arg);
|
||||
int mch_get_shellsize(void);
|
||||
void mch_set_shellsize(void);
|
||||
void mch_new_shellsize(void);
|
||||
int mch_call_shell(char_u *cmd, int options, char_u *extra_shell_arg);
|
||||
int mch_call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg);
|
||||
int mch_expandpath(garray_T *gap, char_u *path, int flags);
|
||||
int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
|
||||
char_u ***file,
|
||||
|
Reference in New Issue
Block a user