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

Remove unused macros #1057

Closed

Conversation

michal-josef-spacek
Copy link
Contributor

Fixes #1056

Fixes GH#1056
@@ -1160,22 +1160,6 @@
dxf) \
} \
}
#define SUB_FIELD_VECTOR_N(o, nam, type, csize, dxf) \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that's the needed allocating variant

#define SUB_FIELD_VECTOR_INL(o, nam, type, csize, dxf) \
if (csize > 0) \
{ \
_VECTOR_CHKCOUNT_STATIC (nam, csize, TYPE_MAXELEMSIZE (type), dat) \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and that's the variant with the bounds check

@rurban
Copy link
Contributor

rurban commented Dec 8, 2024

At first glance this is wrong

@rurban rurban closed this Dec 8, 2024
@michal-josef-spacek
Copy link
Contributor Author

@rurban As I understand these versions are not used anywhere. Sure?

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.

nonsense mix of macros
2 participants