Macro addin1c::utf16

source ·
macro_rules! utf16 {
    ($text:expr) => { ... };
}
Expand description

Turns a string literal into a u16 array literal ([u16; N]).

If you want to have a “null terminated” string (such as for some parts of Windows FFI) then you should use utf16_null!.