MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / get_stack_values_helper

Function get_stack_values_helper

Source/Utils/dukglue/detail_stack.h:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 // std::make_tuple<int, bool>(read<int>(ctx, 0), read<bool>(ctx, 1))
27 template<typename... Args, size_t... Indexes>
28 typename ArgsTuple<Args...>::type get_stack_values_helper(duk_context* ctx, dukglue::detail::index_tuple<Indexes...>)
29 {
30 using namespace dukglue::types;
31 return std::forward_as_tuple(DukType<typename Bare<Args>::type>::template read<typename ArgStorage<Args>::type>(ctx, Indexes)...);
32 }
33
34 // Returns an std::tuple of the values asked for in the template parameters.
35 // Values will remain on the stack.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected