Mercurial > vim
comparison src/eval.c @ 299:2bfc2b703314 v7.0078
updated for version 7.0078
author | vimboss |
---|---|
date | Wed, 01 Jun 2005 21:57:40 +0000 |
parents | 1c1cbdc42f75 |
children | 006e9c8a6a8a |
comparison
equal
deleted
inserted
replaced
298:f9de3e679a04 | 299:2bfc2b703314 |
---|---|
118 | 118 |
119 /* | 119 /* |
120 * Old Vim variables such as "v:version" are also available without the "v:". | 120 * Old Vim variables such as "v:version" are also available without the "v:". |
121 * Also in functions. We need a special hashtable for them. | 121 * Also in functions. We need a special hashtable for them. |
122 */ | 122 */ |
123 hashtab_T compat_hashtab; | 123 static hashtab_T compat_hashtab; |
124 | 124 |
125 /* | 125 /* |
126 * Array to hold the hashtab with variables local to each sourced script. | 126 * Array to hold the hashtab with variables local to each sourced script. |
127 * Each item holds a variable (nameless) that points to the dict_T. | 127 * Each item holds a variable (nameless) that points to the dict_T. |
128 */ | 128 */ |
186 #define FC_DICT 4 /* Dict function, uses "self" */ | 186 #define FC_DICT 4 /* Dict function, uses "self" */ |
187 | 187 |
188 /* | 188 /* |
189 * All user-defined functions are found in this hash table. | 189 * All user-defined functions are found in this hash table. |
190 */ | 190 */ |
191 hashtab_T func_hashtab; | 191 static hashtab_T func_hashtab; |
192 | 192 |
193 /* From user function to hashitem and back. */ | 193 /* From user function to hashitem and back. */ |
194 static ufunc_T dumuf; | 194 static ufunc_T dumuf; |
195 #define UF2HIKEY(fp) ((fp)->uf_name) | 195 #define UF2HIKEY(fp) ((fp)->uf_name) |
196 #define HIKEY2UF(p) ((ufunc_T *)(p - (dumuf.uf_name - (char_u *)&dumuf))) | 196 #define HIKEY2UF(p) ((ufunc_T *)(p - (dumuf.uf_name - (char_u *)&dumuf))) |