|
template<typename Callable , typename... ExtraArgs> |
internal::ReturnTypeOf< Callable > | luwra::apply (State *state, int pos, Callable &&func, ExtraArgs &&... args) |
| Retrieve values from the stack in order to invoke a Callable with them.
|
|
template<typename Callable , typename... ExtraArgs> |
size_t | luwra::map (State *state, int pos, Callable &&func, ExtraArgs &&... args) |
| Retrieve values from the stack in order to invoke a Callable with them, then push the result onto the stack.
|
|
template<typename... Types> |
void | luwra::push (State *state, Types &&... values) |
| Push zero or more values onto the stack.
|
|
template<typename... Types> |
size_t | luwra::pushReturn (State *state, Types &&... values) |
| Push zero or more return values onto the stack.
|
|
template<typename Type = internal::InferValueType> |
auto | luwra::read (State *state, int index) -> decltype(Value< Type >::read(state, index)) |
| Read a value off the stack.
|
|