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 support for bool #382

Merged
merged 2 commits into from Dec 12, 2023
Merged

Add support for bool #382

merged 2 commits into from Dec 12, 2023

Conversation

matthewdcong
Copy link
Contributor

Ported over from the corresponding pybind11 implementation

include/nanobind/nb_types.h Outdated Show resolved Hide resolved
@wjakob wjakob merged commit 26337d4 into wjakob:master Dec 12, 2023
21 checks passed
wjakob pushed a commit that referenced this pull request Dec 12, 2023
* Add bool_ support

* Directly compare against Py_True
wjakob pushed a commit that referenced this pull request Dec 12, 2023
* Add bool_ support

* Directly compare against Py_True
@matthewdcong matthewdcong deleted the add_bool_support branch January 4, 2024 04:33
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.

None yet

2 participants