diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-04-15 12:27:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-04-15 12:27:36 +0200 |
commit | 429fa85392a934b34ba7b394558900cbb8786454 (patch) | |
tree | 2efc8dbb0c4727471c970f4c96ea37a9e9ba67e6 /src/proto/eval.pro | |
parent | 07219f911c86a50840050282baafe896284a5588 (diff) | |
download | vim-429fa85392a934b34ba7b394558900cbb8786454.zip |
updated for version 7.3.893
Problem: Crash when using b:, w: or t: after closing the buffer, window or
tabpage.
Solution: Allocate the dictionary instead of having it part of the
buffer/window/tabpage struct. (Yukihiro Nakadaira)
Diffstat (limited to 'src/proto/eval.pro')
-rw-r--r-- | src/proto/eval.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro index 5ad27aa5d..b23700d70 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -24,8 +24,8 @@ list_T *eval_spell_expr __ARGS((char_u *badword, char_u *expr)); int get_spellword __ARGS((list_T *list, char_u **pp)); typval_T *eval_expr __ARGS((char_u *arg, char_u **nextcmd)); int call_vim_function __ARGS((char_u *func, int argc, char_u **argv, int safe, int str_arg_only, typval_T *rettv)); -void *call_func_retstr __ARGS((char_u *func, int argc, char_u **argv, int safe)); long call_func_retnr __ARGS((char_u *func, int argc, char_u **argv, int safe)); +void *call_func_retstr __ARGS((char_u *func, int argc, char_u **argv, int safe)); void *call_func_retlist __ARGS((char_u *func, int argc, char_u **argv, int safe)); void *save_funccal __ARGS((void)); void restore_funccal __ARGS((void *vfc)); @@ -95,6 +95,7 @@ char_u *get_tv_string_chk __ARGS((typval_T *varp)); char_u *get_var_value __ARGS((char_u *name)); void new_script_vars __ARGS((scid_T id)); void init_var_dict __ARGS((dict_T *dict, dictitem_T *dict_var, int scope)); +void unref_var_dict __ARGS((dict_T *dict)); void vars_clear __ARGS((hashtab_T *ht)); void copy_tv __ARGS((typval_T *from, typval_T *to)); void ex_echo __ARGS((exarg_T *eap)); |