popReturnValues

Pop return values from stack. Defaults to popValue, but has special handling for $(DPREF2 conversions, functions, LuaVariableReturn), $(STDREF typecons, Tuple), static arrays and void.

T
popReturnValues
(
T
)
(,
size_t nret
)

Parameters

nret size_t

number of return values

Return Value

Type: T

Return value, collection of return values, or nothing

Meta