Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use flexible array in buffblock_T #22090

Closed
wants to merge 1 commit into from

Conversation

ii14
Copy link
Member

@ii14 ii14 commented Feb 1, 2023

buffheader unnecessarily also contained b_str from the buffblock_T struct. inline b_next in buffheader.

this change is needed for the #22072 refactor, as you couldn't use a flexible array for b_str in buffblock, because it's nested in other structs.

@github-actions github-actions bot added the refactor changes that are not features or bugfixes label Feb 1, 2023
@marvim marvim requested a review from bfredl February 1, 2023 18:36
src/nvim/getchar.c Outdated Show resolved Hide resolved
@ii14 ii14 marked this pull request as draft February 1, 2023 18:56
@marvim marvim removed the request for review from bfredl February 1, 2023 18:56
@ii14 ii14 changed the title refactor: inline bh_first.b_next in buffheader refactor: use flexible array in buffblock_T Feb 1, 2023
@dundargoc dundargoc closed this Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor changes that are not features or bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants