Skip to content

0.8.0

Compare
Choose a tag to compare
@Juici Juici released this 05 May 10:00
· 10 commits to master since this release
0.8.0
7661ec4

Breaking changes

  • Renamed wch_c macro to wchz.

    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 of u16.

    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");