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

Document what happens unsafeUseAsCStringLen called on empty BS #207

Closed
osa1 opened this issue Mar 19, 2020 · 0 comments
Closed

Document what happens unsafeUseAsCStringLen called on empty BS #207

osa1 opened this issue Mar 19, 2020 · 0 comments

Comments

@osa1
Copy link

osa1 commented Mar 19, 2020

Per Simon's request: it'd be helpful to document what happens in unsafeUseAsCStringLen BS.empty .... It's obvious that unsafeUseAsCStringLen passes NULL as the pointer when you think about what else it could return, but that's not obvious to some users unless they think about the possible implementations.

fumieval added a commit to fumieval/bytestring that referenced this issue Jul 4, 2020
fumieval added a commit to fumieval/bytestring that referenced this issue Jul 4, 2020
fumieval added a commit to fumieval/bytestring that referenced this issue Jul 5, 2020
fumieval added a commit to fumieval/bytestring that referenced this issue Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants