Function lua_pushvalue

Source
pub unsafe extern "C-unwind" fn lua_pushvalue(
    L: *mut lua_State,
    idx: c_int,
)
Expand description

Pushes a value onto the stack.

This function copies the value at the given index, and pushes the copy onto the stack.