Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
void LuaTable::setMetatable(LuaTable const& table) const {
57
return engine().tableSetMetatable(handleIndex(), table);
58
}
59
60
LuaInt LuaTable::rawLength() const {
61
return engine().tableLength(true, handleIndex());
Callers
2
insertJsonMetatable
Method · 0.80
TEST
Function · 0.80
Calls
1
tableSetMetatable
Method · 0.80
Tested by
1
TEST
Function · 0.64