1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#[macro_use]
extern crate proc_macro_hack;
#[allow(unused_imports)]
#[macro_use]
extern crate wstr_impl;

pub use wstr_impl::*;

proc_macro_expr_decl!(wstr! => wstr_impl);
proc_macro_expr_decl!(wstrz! => wstrz_impl);

#[cfg(feature = "widestring")]
#[macro_export]
macro_rules! widestr {
    ($str:tt) => (widestring::WideStr::from_slice(wstr!($str)))
}