comparison src/proto/evalfunc.pro @ 16872:a836d122231a v8.1.1437

patch 8.1.1437: code to handle callbacks is duplicated commit https://github.com/vim/vim/commit/3a97bb3f0f8bd118ae23f1c97e55d84ff42eef20 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 1 13:28:35 2019 +0200 patch 8.1.1437: code to handle callbacks is duplicated Problem: Code to handle callbacks is duplicated. Solution: Add callback_T and functions to deal with it.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jun 2019 13:30:07 +0200
parents 4790302965fc
children 210c4c5f783d
comparison
equal deleted inserted replaced
16871:e5dab34ded73 16872:a836d122231a
9 void execute_redir_str(char_u *value, int value_len); 9 void execute_redir_str(char_u *value, int value_len);
10 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); 10 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv);
11 float_T vim_round(float_T f); 11 float_T vim_round(float_T f);
12 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, typval_T *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); 12 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, typval_T *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit);
13 void f_string(typval_T *argvars, typval_T *rettv); 13 void f_string(typval_T *argvars, typval_T *rettv);
14 char_u *get_callback(typval_T *arg, partial_T **pp); 14 callback_T get_callback(typval_T *arg);
15 void free_callback(char_u *callback, partial_T *partial); 15 void put_callback(callback_T *cb, typval_T *tv);
16 void set_callback(callback_T *dest, callback_T *src);
17 void free_callback(callback_T *callback);
16 /* vim: set ft=c : */ 18 /* vim: set ft=c : */