Macro gluac_rs::lua_string[][src]

macro_rules! lua_string {
    ( $str:literal ) => { ... };
    ( $str:expr ) => { ... };
}
Expand description

Converts a string literal to a Lua-compatible NUL terminated CString.

Also can convert a String or &str to a Lua-compatible NUL terminated CString.

You must not add any NUL bytes into this string yourself.