Name
PushUpvalues -- push desired upvalues (V7.1)
Synopsis
int n = PushUpvalues(lua_State *L);
Function
This function is optional and must only be implemented if the HWEXT_LIBRARY_UPVALUES extension bit has been set. See Extension plugins for details. In that case, PushUpvalues() needs to push all upvalues that are needed by the functions of your library plugin and return the number of upvalues pushed.

Inputs
L
pointer to the lua_State
Results
n
number of upvalues pushed by your function

Show TOC