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

Buffer trim and document #3912

Merged
merged 3 commits into from
Oct 13, 2023
Merged

Conversation

createyourpersonalaccount
Copy link
Contributor

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've documented or updated the documentation of every function and struct this PR changes. If not so I've explained why.
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the rizin book with the relevant information (if needed)

Detailed description

We remove unused functions and macros from the buffer header and source file and document the rest.

Test plan

...

Closing issues

...

@github-actions github-actions bot added the RzUtil label Oct 8, 2023
@createyourpersonalaccount createyourpersonalaccount changed the title Buffer fix Buffer trim and document Oct 8, 2023
Copy link
Member

@XVilka XVilka left a comment

Choose a reason for hiding this comment

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

Good change as is and could be merged. But I wonder if it's better to reuse RzUtil's RzBuf and/or RzStrBuf to reduce code duplication. @ret2libc @wargio @thestr4ng3r what do you think about this?

@wargio
Copy link
Member

wargio commented Oct 13, 2023

agreed with you @XVilka but we could do it in another PR

@XVilka XVilka merged commit 908b880 into rizinorg:dev Oct 13, 2023
43 checks passed
@createyourpersonalaccount createyourpersonalaccount deleted the buffer-fix branch October 13, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants