Function Lloadbufferx

Source
pub unsafe extern "C" fn Lloadbufferx(
    state: lua_State,
    buffer: *const u8,
    size: usize,
    name: *const u8,
    mode: *const u8,
) -> Status
Expand description

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

This function returns the same results as lua_load. name is the chunk name, used for debug information and error messages. The string mode works as in function lua_load.