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

cleanup: Use function instead of macro for is_bigendian. #73

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

iphydf
Copy link
Contributor

@iphydf iphydf commented Apr 5, 2024

It ends up with the same code and avoids a global variable and a macro.

Also, split the cast/compare expression for clarity.

It ends up with the same code and avoids a global variable and a macro.

Also, split the cast/compare expression for clarity.
@camgunz
Copy link
Owner

camgunz commented Apr 14, 2024

LG; thanks!

@camgunz camgunz merged commit 2b6db0b into camgunz:master Apr 14, 2024
1 check passed
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