Skip to content

Reduce list function duplication with macros#45

Open
pbedn wants to merge 1 commit into
masterfrom
codex/use-generic-macros-for-list-methods
Open

Reduce list function duplication with macros#45
pbedn wants to merge 1 commit into
masterfrom
codex/use-generic-macros-for-list-methods

Conversation

@pbedn

@pbedn pbedn commented Aug 7, 2025

Copy link
Copy Markdown
Owner

Summary

  • add PB_DECLARE_LIST_FUNCS macro in pb_runtime.h
  • implement all list methods via PB_DEFINE_LIST_METHODS in pb_runtime.c
  • keep type-specific print routines

Testing

  • pytest -q

https://chatgpt.com/codex/tasks/task_e_6863a13ea6a08321be0f31f4aceabf57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant