comparison src/proto/eval.pro @ 8055:6db4b1c863ec v7.4.1322

commit https://github.com/vim/vim/commit/3bece9fee9c02934d3e295b29d253e13d4ef26a7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 15 20:39:46 2016 +0100 patch 7.4.1322 Problem: Crash when unletting the variable that holds the channel in a callback function. (Christian Robinson) Solution: Increase the reference count while invoking the callback.
author Christian Brabandt <cb@256bit.org>
date Mon, 15 Feb 2016 20:45:04 +0100
parents 17e6ff1a74f1
children a0ffb1f3dedc
comparison
equal deleted inserted replaced
8054:adb3150edaaf 8055:6db4b1c863ec
77 int dict_add_nr_str(dict_T *d, char *key, long nr, char_u *str); 77 int dict_add_nr_str(dict_T *d, char *key, long nr, char_u *str);
78 int dict_add_list(dict_T *d, char *key, list_T *list); 78 int dict_add_list(dict_T *d, char *key, list_T *list);
79 dictitem_T *dict_find(dict_T *d, char_u *key, int len); 79 dictitem_T *dict_find(dict_T *d, char_u *key, int len);
80 char_u *get_dict_string(dict_T *d, char_u *key, int save); 80 char_u *get_dict_string(dict_T *d, char_u *key, int save);
81 long get_dict_number(dict_T *d, char_u *key); 81 long get_dict_number(dict_T *d, char_u *key);
82 int channel_unref(channel_T *channel);
82 int string2float(char_u *text, float_T *value); 83 int string2float(char_u *text, float_T *value);
83 char_u *get_function_name(expand_T *xp, int idx); 84 char_u *get_function_name(expand_T *xp, int idx);
84 char_u *get_expr_name(expand_T *xp, int idx); 85 char_u *get_expr_name(expand_T *xp, int idx);
85 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount, typval_T *argvars, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, dict_T *selfdict); 86 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount, typval_T *argvars, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, dict_T *selfdict);
86 int func_call(char_u *name, typval_T *args, dict_T *selfdict, typval_T *rettv); 87 int func_call(char_u *name, typval_T *args, dict_T *selfdict, typval_T *rettv);