[PATCH] Use binaryheap_* macro where appropriate
Started by Aleksander Alekseevover 1 year ago3 messageshackers
Stepping through
Hi,
I noticed several places where we access `struct binaryheap` directly
instead of using binaryheap_size() and binaryheap_empty() which
doesn't seem right. Here is the patch.
--
Best regards,
Aleksander Alekseev
Attachments:
v1-0001-Use-binaryheap_-macro-where-appropriate.patchapplication/octet-stream; name=v1-0001-Use-binaryheap_-macro-where-appropriate.patchDownload+7-8
Re: [PATCH] Use binaryheap_* macro where appropriate
On Thu, Jun 26, 2025 at 01:18:10PM +0300, Aleksander Alekseev wrote:
I noticed several places where we access `struct binaryheap` directly
instead of using binaryheap_size() and binaryheap_empty() which
doesn't seem right. Here is the patch.
Seems reasonable. I'll plan on committing this once v19 is open for
business.
--
nathan