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

Rewrite difficult-to-maintain macros as functions #168

Open
ludomal opened this issue Apr 30, 2023 · 0 comments
Open

Rewrite difficult-to-maintain macros as functions #168

ludomal opened this issue Apr 30, 2023 · 0 comments

Comments

@ludomal
Copy link
Member

ludomal commented Apr 30, 2023

As seen in #45, #116 and #161, some macro definitions are difficult to maintain and debug.

A good example is #define FIND_PAR_S(p,msg,i,dft) in src/utl/ugstdemo.h which was patched as a quick bug fix in #163.

It is proposed to rewrite these macros as functions to enhance their maintainability.

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

No branches or pull requests

1 participant