A macro for creating c-style u16 wide strings at compile time.
Add this to your Cargo.toml
:
toml
[dependencies]
u16cstr = "0.1"
```rust use u16cstr::u16cstr; use widestring::U16CStr;
const wide_string: &U16CStr = u16cstr!("Test"); ```
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)