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 bytearray wrapper type #654

Merged
merged 4 commits into from
Aug 13, 2024
Merged

Add bytearray wrapper type #654

merged 4 commits into from
Aug 13, 2024

Conversation

noahbkim
Copy link
Contributor

I tried to follow the precedent of nanobind::bytes as closely as seemed reasonable. RFC on the documentation and signature of resize. Thanks @oremanj for feedback on the first iteration.

include/nanobind/nb_types.h Outdated Show resolved Hide resolved
docs/api_core.rst Outdated Show resolved Hide resolved
include/nanobind/nb_types.h Outdated Show resolved Hide resolved
include/nanobind/nb_types.h Show resolved Hide resolved
Copy link
Contributor

@oremanj oremanj left a comment

Choose a reason for hiding this comment

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

LGTM for first pass, over to @wjakob.

Copy link
Owner

@wjakob wjakob left a comment

Choose a reason for hiding this comment

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

Thank you! Just 2 small comments..

docs/api_core.rst Outdated Show resolved Hide resolved
include/nanobind/nb_types.h Outdated Show resolved Hide resolved
@wjakob
Copy link
Owner

wjakob commented Aug 11, 2024

(Seems that there is a merge conflict.)

@noahbkim
Copy link
Contributor Author

I think I fixed it!

@wjakob wjakob merged commit 865e638 into wjakob:master Aug 13, 2024
24 checks passed
wjakob pushed a commit that referenced this pull request Aug 13, 2024
* Add bytearray wrapper type
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.

3 participants