diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-06-02 14:51:58 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-09 17:46:27 -0700 |
| commit | d42cc130f9eaaa4b35944854c3ba34ae98d6361e (patch) | |
| tree | 02caa183a0848d2533948c9bb8a9fbf7f6b45677 /src/rustllvm/RustWrapper.cpp | |
| parent | 0ea7aa30cc864d00fc30b9ba610f2daefab4e850 (diff) | |
| download | rust-d42cc130f9eaaa4b35944854c3ba34ae98d6361e.tar.gz rust-d42cc130f9eaaa4b35944854c3ba34ae98d6361e.zip | |
std: Remove the as_utf16_p functions
These functions are all much better expressed via RAII using the to_utf16() method on strings. This refactoring also takes this opportunity to properly handle when filenames aren't valid unicode when passed through to the windows I/O layer by properly returning I/O errors. All previous users of the `as_utf16_p` or `as_utf16_mut_p` functions will need to convert their code to using `foo.to_utf16().append_one(0)` to get a null-terminated utf16 string. [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
