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

Method CreateTable

state.go:1608–1610  ·  view source on GitHub ↗
(acap, hcap int)

Source from the content-addressed store, hash-verified

1606}
1607
1608func (ls *LState) CreateTable(acap, hcap int) *LTable {
1609 return newLTable(acap, hcap)
1610}
1611
1612// NewThread returns a new LState that shares with the original state all global objects.
1613// If the original state has context.Context, the new state has a new child context of the original state and this function returns its cancel function.

Callers 4

FindTableMethod · 0.95
OpenPackageFunction · 0.45
loSeeAllFunction · 0.45
OpenIoFunction · 0.45

Calls 1

newLTableFunction · 0.85

Tested by

no test coverage detected