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

Method setMetatable

source/core/StarLua.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void LuaTable::setMetatable(LuaTable const& table) const {
57 return engine().tableSetMetatable(handleIndex(), table);
58}
59
60LuaInt LuaTable::rawLength() const {
61 return engine().tableLength(true, handleIndex());

Callers 2

insertJsonMetatableMethod · 0.80
TESTFunction · 0.80

Calls 1

tableSetMetatableMethod · 0.80

Tested by 1

TESTFunction · 0.64