rglua::lua

Function lua_loadx

Source
pub fn lua_loadx(
    l: LuaState,
    reader: LuaReader,
    dt: *mut c_void,
    chunkname: LuaString,
    mode: LuaString,
) -> c_int
Expand description

Function used by lua_load internally.
mode is whether to take the chunk as bytecode or as text.
You should just use lua_load instead though.