Mercurial > vim
comparison src/proto/eval.pro @ 9589:bf204ab1ce7d v7.4.2072
commit https://github.com/vim/vim/commit/72ab729c3dcdea0fba44d8e676602c847e841bcd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 19 19:10:51 2016 +0200
patch 7.4.2072
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jul 2016 19:15:06 +0200 |
parents | 5eaa708ab50d |
children | ccbb8e393d80 |
comparison
equal
deleted
inserted
replaced
9588:58eb7e194286 | 9589:bf204ab1ce7d |
---|---|
124 void assert_bool(typval_T *argvars, int isTrue); | 124 void assert_bool(typval_T *argvars, int isTrue); |
125 void assert_exception(typval_T *argvars); | 125 void assert_exception(typval_T *argvars); |
126 void assert_fails(typval_T *argvars); | 126 void assert_fails(typval_T *argvars); |
127 void fill_assert_error(garray_T *gap, typval_T *opt_msg_tv, char_u *exp_str, typval_T *exp_tv, typval_T *got_tv, assert_type_T atype); | 127 void fill_assert_error(garray_T *gap, typval_T *opt_msg_tv, char_u *exp_str, typval_T *exp_tv, typval_T *got_tv, assert_type_T atype); |
128 int modify_fname(char_u *src, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); | 128 int modify_fname(char_u *src, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); |
129 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, char_u *flags); | 129 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, typval_T *expr, char_u *flags); |
130 void filter_map(typval_T *argvars, typval_T *rettv, int map); | 130 void filter_map(typval_T *argvars, typval_T *rettv, int map); |
131 /* vim: set ft=c : */ | 131 /* vim: set ft=c : */ |