u16cstr 0.1.0

A macro for creating c-style u16 wide strings at compile time.
Documentation

u16cstr

Build crates.io Documentation dependency status MIT

A macro for creating c-style u16 wide strings at compile time.

Setup

Add this to your Cargo.toml:

[dependencies]
u16cstr = "0.1"

Example

use u16cstr::u16cstr;
use widestring::U16CStr;

const wide_string: &U16CStr = u16cstr!("Test");

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)