mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
eval: Split eval.c into smaller files
This commit is contained in:
@@ -10,7 +10,7 @@ local eval = cimport('./src/nvim/eval.h', './src/nvim/memory.h')
|
||||
|
||||
local eval_expr = function(expr)
|
||||
return ffi.gc(eval.eval_expr(to_cstr(expr), nil), function(tv)
|
||||
eval.clear_tv(tv)
|
||||
eval.tv_clear(tv)
|
||||
eval.xfree(tv)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user