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

Add basic support for RBinName #154

Merged
merged 3 commits into from
Jan 11, 2024
Merged

Conversation

mrmacete
Copy link
Collaborator

Checklist

  • Closing issues: #issue
  • Mark this if you consider it ready to merge
  • I've added tests (optional)
  • I wrote some documentation

Description

Fix compilation errors by using r_bin_name_tostring where needed.

@mrmacete
Copy link
Collaborator Author

not sure how to fix CI for this though, to point to the right r2 version

@trufae
Copy link
Collaborator

trufae commented Jan 10, 2024

i would put this r_bin_name_tostring thing in an include file as a define depending on the version of r2, this way the code will backward compatible. its better to have an api than directly accessing the fields

@trufae
Copy link
Collaborator

trufae commented Jan 10, 2024

Use sthg like this

#if R2_VERSION_NUMBER < 50809
#define r_bin_name_tostring(x) x
#endif

@trufae trufae merged commit 18ac71a into master Jan 11, 2024
9 checks 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