[][src]Macro sciter::s2u

macro_rules! s2u {
    ($s:expr) => { ... };
}

Rust string to UTF-8 conversion. See also utf::u2s.

Example:

This example is not tested
let cstr = s2u!("hello"); // ffi::CString
libc::printf("%hs", cstr.as_ptr());