Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
415
func
threadArg(l *State) (int, *State) {
416
if
l.IsThread(1) {
417
return
1, l.ToThread(1)
418
}
419
return
0, l
420
}
421
422
func
hookTable(l *State) bool {
return
SubTable(l, RegistryIndex,
"_HKEY"
) }
423
Callers
1
debug.go
File · 0.85
Calls
2
IsThread
Method · 0.80
ToThread
Method · 0.80
Tested by
no test coverage detected