popStack

Pop a number of elements from the stack.

T[]
popStack
()
(,
size_t n
)

Parameters

T

element type

L lua_State*

stack to pop from

n size_t

number of elements to pop

Return Value

Type: T[]

array of popped elements, or a null array if n = 0

Meta