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

Method PushThread

lua.go:977–980  ·  view source on GitHub ↗

PushThread pushes the thread l onto the stack. It returns true if l is the main thread of its state. http://www.lua.org/manual/5.2/manual.html#lua_pushthread

()

Source from the content-addressed store, hash-verified

975//
976// http://www.lua.org/manual/5.2/manual.html#lua_pushthread
977func (l *State) PushThread() bool {
978 l.apiPush(l)
979 return l.global.mainThread == l
980}
981
982// Global pushes onto the stack the value of the global name.
983//

Callers 2

internalHookFunction · 0.80
debug.goFile · 0.80

Calls 1

apiPushMethod · 0.95

Tested by

no test coverage detected