Closed nurpax closed 4 months ago
Can you replace test_functions_ext.pyi.ref
with your generated test_functions_ext.pyi
? If you get the robin_map error message locally, you probably need to update your subrepository.
Ahh, of course, that was it. All those years using git yet zero success in committing git submodules into CLI muscle memory.
If the change looks otherwise ok, I can add another commit for docs too.
The change looks good, please go ahead.
Added docs. Also updated the docs for nb::bytes(const void * buf, size_t n) constructor to match the actual code.
Hopefully the rst syntax is not too wrong in my change.
Looks all good, thanks!
Add nb::bytes::data() accessor as discussed in https://github.com/wjakob/nanobind/discussions/569#discussioncomment-9420765
Note: I couldn't get the tests to build on Windows due to this error:
So trying if I can get test this with CI.