From 429fa85392a934b34ba7b394558900cbb8786454 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 15 Apr 2013 12:27:36 +0200 Subject: 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) --- src/proto/eval.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/proto/eval.pro') 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)); -- cgit v1.2.3