Merge pull request #19906 from bfredl/bigstage

perf(api): allow to use an arena for return values
This commit is contained in:
bfredl
2022-08-24 15:22:30 +02:00
committed by GitHub
56 changed files with 672 additions and 590 deletions

View File

@@ -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;