mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
Merge pull request #19906 from bfredl/bigstage
perf(api): allow to use an arena for return values
This commit is contained in:
@@ -2057,7 +2057,7 @@ static bool call_autocmd_callback(const AutoCmd *ac, const AutoPatCmd *apc)
|
||||
PUT(data, "buf", INTEGER_OBJ(autocmd_bufnr));
|
||||
|
||||
if (apc->data) {
|
||||
PUT(data, "data", copy_object(*apc->data));
|
||||
PUT(data, "data", copy_object(*apc->data, NULL));
|
||||
}
|
||||
|
||||
int group = apc->curpat->group;
|
||||
|
Reference in New Issue
Block a user