push_closure

Function push_closure 

Source
pub fn push_closure<T: Closure>(lua: *mut LuaState, context: c_int, value: T)
Expand description

Pushes a new closure onto the stack.

The closure will be owned by the Context at the specified index.