Mercurial > vim
comparison src/eval.c @ 958:e88950f0d4f6 v7.0.084
updated for version 7.0-084
author | vimboss |
---|---|
date | Tue, 05 Sep 2006 10:59:47 +0000 |
parents | 92f3089a7b10 |
children | 2bebfa810a66 |
comparison
equal
deleted
inserted
replaced
957:3dc6072e0a25 | 958:e88950f0d4f6 |
---|---|
6071 int did_free = FALSE; | 6071 int did_free = FALSE; |
6072 av_list_item_T *av; | 6072 av_list_item_T *av; |
6073 #ifdef FEAT_WINDOWS | 6073 #ifdef FEAT_WINDOWS |
6074 tabpage_T *tp; | 6074 tabpage_T *tp; |
6075 #endif | 6075 #endif |
6076 | |
6077 /* Only do this once. */ | |
6078 want_garbage_collect = FALSE; | |
6079 may_garbage_collect = FALSE; | |
6076 | 6080 |
6077 /* | 6081 /* |
6078 * 1. Go through all accessible variables and mark all lists and dicts | 6082 * 1. Go through all accessible variables and mark all lists and dicts |
6079 * with copyID. | 6083 * with copyID. |
6080 */ | 6084 */ |
9634 static void | 9638 static void |
9635 f_garbagecollect(argvars, rettv) | 9639 f_garbagecollect(argvars, rettv) |
9636 typval_T *argvars; | 9640 typval_T *argvars; |
9637 typval_T *rettv; | 9641 typval_T *rettv; |
9638 { | 9642 { |
9639 garbage_collect(); | 9643 /* This is postponed until we are back at the toplevel, because we may be |
9644 * using Lists and Dicts internally. E.g.: ":echo [garbagecollect()]". */ | |
9645 want_garbage_collect = TRUE; | |
9640 } | 9646 } |
9641 | 9647 |
9642 /* | 9648 /* |
9643 * "get()" function | 9649 * "get()" function |
9644 */ | 9650 */ |