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

Function threadArg

debug.go:415–420  ·  view source on GitHub ↗
(l *State)

Source from the content-addressed store, hash-verified

413}
414
415func threadArg(l *State) (int, *State) {
416 if l.IsThread(1) {
417 return 1, l.ToThread(1)
418 }
419 return 0, l
420}
421
422func hookTable(l *State) bool { return SubTable(l, RegistryIndex, "_HKEY") }
423

Callers 1

debug.goFile · 0.85

Calls 2

IsThreadMethod · 0.80
ToThreadMethod · 0.80

Tested by

no test coverage detected