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

Method SetField

_state.go:1715–1717  ·  view source on GitHub ↗
(obj LValue, key string, value LValue)

Source from the content-addressed store, hash-verified

1713}
1714
1715func (ls *LState) SetField(obj LValue, key string, value LValue) {
1716 ls.setFieldString(obj, key, value)
1717}
1718
1719func (ls *LState) SetTable(obj LValue, key LValue, value LValue) {
1720 ls.setField(obj, key, value)

Callers 1

SetGlobalMethod · 0.95

Calls 1

setFieldStringMethod · 0.95

Tested by

no test coverage detected