0.8.0
Breaking changes
-
Renamed
wch_c
macro towchz
.This brings the macro more inline with nul-terminated string terminology, such as
.ascii
and.asciiz
in assembly. -
Default to target platform
wchar_t
for macro output.To make the macros more usable the output wide character type when not specified in the macro will default to the
wchar_t
type of the target platform. This is instead of the previous default ofu16
.The crate also exports a type alias to the default target platform
wchar_t
, this can be used as such:use wchar::{wchz, wchar_t}; const RUST: &[wchar_t] = wchz!("Rust");