MCPcopy Create free account
hub / github.com/yuin/gopher-lua / SetTable

Method SetTable

_state.go:1719–1721  ·  view source on GitHub ↗
(obj LValue, key LValue, value LValue)

Source from the content-addressed store, hash-verified

1717}
1718
1719func (ls *LState) SetTable(obj LValue, key LValue, value LValue) {
1720 ls.setField(obj, key, value)
1721}
1722
1723func (ls *LState) ForEach(tb *LTable, cb func(LValue, LValue)) {
1724 tb.ForEach(cb)

Callers

nothing calls this directly

Calls 1

setFieldMethod · 0.95

Tested by

no test coverage detected