MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / wrapMethod

Function wrapMethod

source/core/StarLua.hpp:1407–1410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1405
1406 template <typename Function>
1407 LuaWrappedFunction wrapMethod(Function&& func) {
1408 return wrapMethodArgs<typename FunctionTraits<Function>::Return>(
1409 std::forward<Function>(func), typename FunctionTraits<Function>::Args());
1410 }
1411
1412 template <typename Ret, typename... Args>
1413 struct TableIteratorWrapper;

Callers 1

registerMethodMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected