Skip to content

Modernize: replace macros with inline functions #18

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GravisZro
Copy link

  • Make sure all macros pass in all variables used (a mesh* type varaible (aka m) needs to be passed in for several)
  • Rewrite macros as always inlined functions to ensure type correctness

Prepare macros to be converted into functions by including all the required
parameters for when converted.
Macros lose type information. Replace macros with inline functions.
@robinchrist
Copy link

Your PRs cannot merged without merge conflicts.

Perhaps a summary PR would be a sensible idea?

@GravisZro
Copy link
Author

GravisZro commented Jul 3, 2025

@robinchrist Generally people want fine grained PRs (to investigate changes) and then rebase each PR as needed to resolve conflicts. Anyway, if you want one large PR then I can make it that way.

@GravisZro
Copy link
Author

@robinchrist Do you want me to combine these PRs into a single PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants