comparison src/proto/search.pro @ 28415:813660733869 v8.2.4732

patch 8.2.4732: duplicate code to free fuzzy matches Commit: https://github.com/vim/vim/commit/c6e0a5e98c07d898e829d62bd938b1cc1fd37e94 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 10 18:09:06 2022 +0100 patch 8.2.4732: duplicate code to free fuzzy matches Problem: Duplicate code to free fuzzy matches. Solution: Bring back fuzmatch_str_free().
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 Apr 2022 19:15:03 +0200
parents 473cfd79bcd8
children 0e92ffdd9ea7
comparison
equal deleted inserted replaced
28414:e1b7812a4f3b 28415:813660733869
39 void f_searchcount(typval_T *argvars, typval_T *rettv); 39 void f_searchcount(typval_T *argvars, typval_T *rettv);
40 int fuzzy_match(char_u *str, char_u *pat_arg, int matchseq, int *outScore, int_u *matches, int maxMatches); 40 int fuzzy_match(char_u *str, char_u *pat_arg, int matchseq, int *outScore, int_u *matches, int maxMatches);
41 void f_matchfuzzy(typval_T *argvars, typval_T *rettv); 41 void f_matchfuzzy(typval_T *argvars, typval_T *rettv);
42 void f_matchfuzzypos(typval_T *argvars, typval_T *rettv); 42 void f_matchfuzzypos(typval_T *argvars, typval_T *rettv);
43 int fuzzy_match_str(char_u *str, char_u *pat); 43 int fuzzy_match_str(char_u *str, char_u *pat);
44 int fuzzymatches_to_strmatches(fuzmatch_str_T *fuzmatch, char_u ***matches, int count, int funcsort); 44 void fuzmatch_str_free(fuzmatch_str_T *fuzmatch, int count);
45 int fuzzymatches_to_strmatches(fuzmatch_str_T *fuzmatch, char_u ***matches, int count, int funcsort);
45 /* vim: set ft=c : */ 46 /* vim: set ft=c : */