diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-12 13:45:33 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-12 14:15:03 +0800 |
commit | a93d29589ae1aab9f5fff11fccbe3ed14cb089ce (patch) | |
tree | 26815d394348a994820171a9cbc0f27678ff2e89 /src/nvim/eval.h | |
parent | c7ca94ba7f7a76caf51ed62b521f04c97c6aeed5 (diff) | |
download | rneovim-a93d29589ae1aab9f5fff11fccbe3ed14cb089ce.tar.gz rneovim-a93d29589ae1aab9f5fff11fccbe3ed14cb089ce.tar.bz2 rneovim-a93d29589ae1aab9f5fff11fccbe3ed14cb089ce.zip |
vim-patch:8.1.1689: profiling code is spread out
Problem: Profiling code is spread out.
Solution: Move more profiling code to profiler.c. (Yegappan Lakshmanan,
closes vim/vim#4668)
https://github.com/vim/vim/commit/660a10ad41c14363326f83451c3c425201923119
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r-- | src/nvim/eval.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h index 7dbd18737a..b0cb5fd8c1 100644 --- a/src/nvim/eval.h +++ b/src/nvim/eval.h @@ -11,15 +11,6 @@ #define COPYID_INC 2 #define COPYID_MASK (~0x1) -// All user-defined functions are found in this hashtable. -extern hashtab_T func_hashtab; - -// From user function to hashitem and back. -EXTERN ufunc_T dumuf; -#define UF2HIKEY(fp) ((fp)->uf_name) -#define HIKEY2UF(p) ((ufunc_T *)(p - offsetof(ufunc_T, uf_name))) -#define HI2UF(hi) HIKEY2UF((hi)->hi_key) - /* * Structure returned by get_lval() and used by set_var_lval(). * For a plain name: |