getValue

Get a value of any type from the stack.

T
getValue
(
T
alias typeMismatchHandler = defaultTypeMismatch
)
(,
int idx
)

Parameters

T

type of value

typeMismatchHandler

function called to produce an error in case of an invalid conversion.

L lua_State*

stack to get from

idx int

value stack index

Meta