rglua::lua

Function luaL_loadbuffer

Source
pub fn luaL_loadbuffer(
    l: LuaState,
    code: LuaString,
    size: SizeT,
    id: LuaString,
) -> c_int
Expand description

Loads a buffer as a Lua chunk.
This function uses lua_load to load the chunk in the buffer pointed to by buff with size sz.