MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / default_size

Function default_size

extlibs/sol3/include/sol/sol.hpp:10588–10591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10586
10587 template <typename T>
10588 int default_size(lua_State* L) {
10589 decltype(auto) self = stack::unqualified_get<T>(L, 1);
10590 return stack::push(L, self.size());
10591 }
10592
10593 template <typename T, typename Op>
10594 int comparsion_operator_wrap(lua_State* L) {

Callers

nothing calls this directly

Calls 2

pushFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected