diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-06 22:23:54 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-09-07 00:52:58 +0200 |
commit | db9b8b08e74ae8cfb08960eca0a7273538ebcdf1 (patch) | |
tree | 1e6406f2c83fd8c278c8521f778b4f0f2fee0920 /runtime/lua/vim/_meta.lua | |
parent | 74a8b5982a27cdccc6505343a9feeba1b3e74e31 (diff) | |
download | rneovim-db9b8b08e74ae8cfb08960eca0a7273538ebcdf1.tar.gz rneovim-db9b8b08e74ae8cfb08960eca0a7273538ebcdf1.tar.bz2 rneovim-db9b8b08e74ae8cfb08960eca0a7273538ebcdf1.zip |
refactor(typval): change FC_CFUNC abstraction into FC_LUAREF
"cfuncs" was only ever used to wrap luarefs. As vim8script is
finished and will not be developed further, support for "cfuncs"
for other usecases are not planned. This abstraction was immediately
broken anyway in order to get luarefs out of userfuncs again.
Even if a new kind of userfunc needs to be invented in the future,
likely just extending the FC_... flag union directy, instead of
invoking unnecessary heap object and c function pointer indirection,
will be a more straightforward design pattern.
Diffstat (limited to 'runtime/lua/vim/_meta.lua')
0 files changed, 0 insertions, 0 deletions