Skip to content

C: Migrate hb_array to use hb_allocator_T infrastructure#1323

Merged
marcoroth merged 1 commit intomainfrom
hb-array-alloactor
Mar 7, 2026
Merged

C: Migrate hb_array to use hb_allocator_T infrastructure#1323
marcoroth merged 1 commit intomainfrom
hb-array-alloactor

Conversation

@marcoroth
Copy link
Owner

@marcoroth marcoroth commented Mar 7, 2026

With the new hb_allocator_realloc implemented in #1322 we can now port hb_array to use the hb_allocator_T infrastructure.

Resolves #1291

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 7, 2026

npx https://pkg.pr.new/@herb-tools/formatter@1323
npx https://pkg.pr.new/@herb-tools/language-server@1323
npx https://pkg.pr.new/@herb-tools/linter@1323

commit: cf41d07

@github-actions
Copy link

github-actions bot commented Mar 7, 2026

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit cf41d07


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit 38d4fd9 into main Mar 7, 2026
53 checks passed
@marcoroth marcoroth deleted the hb-array-alloactor branch March 7, 2026 13:33
marcoroth added a commit that referenced this pull request Mar 7, 2026
With the new `hb_allocator_realloc` implemented in #1322 we can now port
`hb_buffer` to use the `hb_allocator_T` infrastructure.

Follow up on #1323
marcoroth pushed a commit that referenced this pull request Mar 7, 2026
This MR migrates the `hb_narray` implementation to use the
`hb_allocator` interface for allocating memory.

Related #1323 and #1326
@marcoroth marcoroth added this to the v1.0.0 milestone Mar 8, 2026
@marcoroth marcoroth mentioned this pull request Mar 9, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C: Adopt hb_allocator_T in hb_array.c

1 participant