Mercurial > vim
view src/proto/usercmd.pro @ 20033:2e5e86ff7596 v8.2.0572
patch 8.2.0572: using two lines for free and reset
Commit: https://github.com/vim/vim/commit/df1956075d9ff7b5869fb548734bc2a7be2bce44
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 13 18:13:33 2020 +0200
patch 8.2.0572: using two lines for free and reset
Problem: Using two lines for free and reset.
Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Apr 2020 18:15:04 +0200 |
parents | a2befc9b3729 |
children | d13f8ae3b1de |
line wrap: on
line source
/* usercmd.c */ char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp); char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in); char_u *get_user_command_name(int idx); char_u *get_user_commands(expand_T *xp, int idx); char_u *get_user_cmd_addr_type(expand_T *xp, int idx); char_u *get_user_cmd_flags(expand_T *xp, int idx); char_u *get_user_cmd_nargs(expand_T *xp, int idx); char_u *get_user_cmd_complete(expand_T *xp, int idx); int cmdcomplete_str_to_type(char_u *complete_str); char *uc_fun_cmd(void); int parse_compl_arg(char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg); void ex_command(exarg_T *eap); void ex_comclear(exarg_T *eap); void uc_clear(garray_T *gap); void ex_delcommand(exarg_T *eap); void do_ucmd(exarg_T *eap); /* vim: set ft=c : */