MCPcopy Create free account
hub / github.com/Segs/Segs / push_function

Class push_function

3rd_party/lua_sol2/include/sol.hpp:11262–11273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11260 namespace stack_detail {
11261
11262 struct push_function {
11263 lua_State* L;
11264
11265 push_function(lua_State* L)
11266 : L(L) {
11267 }
11268
11269 template <typename T>
11270 int operator()(T&& value) const {
11271 return stack::push<T>(L, std::forward<T>(value));
11272 }
11273 };
11274
11275 } // namespace stack_detail
11276

Callers 1

pushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected