mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
Move documentation from function declarations to definitions
Uses a perl script to move it (scripts/movedocs.pl)
This commit is contained in:
@@ -17,28 +17,10 @@ typedef enum {
|
||||
kShellOptHideMess = 128, ///< previously a global variable from os_unix.c
|
||||
} ShellOpts;
|
||||
|
||||
/// Builds the argument vector for running the shell configured in `sh`
|
||||
/// ('shell' option), optionally with a command that will be passed with `shcf`
|
||||
/// ('shellcmdflag').
|
||||
///
|
||||
/// @param cmd Command string. If NULL it will run an interactive shell.
|
||||
/// @param extra_shell_opt Extra argument to the shell. If NULL it is ignored
|
||||
/// @return A newly allocated argument vector. It must be freed with
|
||||
/// `shell_free_argv` when no longer needed.
|
||||
char ** shell_build_argv(char_u *cmd, char_u *extra_shell_arg);
|
||||
|
||||
/// Releases the memory allocated by `shell_build_argv`.
|
||||
///
|
||||
/// @param argv The argument vector.
|
||||
void shell_free_argv(char **argv);
|
||||
|
||||
/// Calls the user shell for running a command, interactive session or
|
||||
/// wildcard expansion. It uses the shell set in the `sh` option.
|
||||
///
|
||||
/// @param cmd The command to be executed. If NULL it will run an interactive
|
||||
/// shell
|
||||
/// @param opts Various options that control how the shell will work
|
||||
/// @param extra_shell_arg Extra argument to be passed to the shell
|
||||
int os_call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg);
|
||||
|
||||
#endif // NVIM_OS_SHELL_H
|
||||
|
Reference in New Issue
Block a user