Skip to main content

to_lua_string

Function to_lua_string 

Source
pub fn to_lua_string(
    state: &mut LuaState,
    idx: i32,
) -> Result<Vec<u8>, LuaError>
Expand description

Convert the value at idx to a byte-string representation (using __tostring if available) and push it onto the stack.