MCPcopy Index your code
hub / github.com/yuin/gopher-lua / SetTable

Method SetTable

state.go:1932–1934  ·  view source on GitHub ↗
(obj LValue, key LValue, value LValue)

Source from the content-addressed store, hash-verified

1930}
1931
1932func (ls *LState) SetTable(obj LValue, key LValue, value LValue) {
1933 ls.setField(obj, key, value)
1934}
1935
1936func (ls *LState) ForEach(tb *LTable, cb func(LValue, LValue)) {
1937 tb.ForEach(cb)

Callers

nothing calls this directly

Calls 1

setFieldMethod · 0.95

Tested by

no test coverage detected