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

Function OpenTable

tablelib.go:7–11  ·  view source on GitHub ↗
(L *LState)

Source from the content-addressed store, hash-verified

5)
6
7func OpenTable(L *LState) int {
8 tabmod := L.RegisterModule(TabLibName, tableFuncs)
9 L.Push(tabmod)
10 return 1
11}
12
13var tableFuncs = map[string]LGFunction{
14 "getn": tableGetN,

Callers

nothing calls this directly

Calls 2

RegisterModuleMethod · 0.80
PushMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…