MCPcopy Index your code
hub / github.com/Shopify/go-lua / NewTable

Method NewTable

lua.go:1480–1480  ·  view source on GitHub ↗

NewTable creates a new empty table and pushes it onto the stack. It is equivalent to l.CreateTable(0, 0). http://www.lua.org/manual/5.2/manual.html#lua_newtable

()

Source from the content-addressed store, hash-verified

1478//
1479// http://www.lua.org/manual/5.2/manual.html#lua_newtable
1480func (l *State) NewTable() { l.CreateTable(0, 0) }
1481
1482// PushGoFunction pushes a Function implemented in Go onto the stack.
1483//

Callers 2

NewMetaTableFunction · 0.80
SubTableFunction · 0.80

Calls 1

CreateTableMethod · 0.95

Tested by

no test coverage detected