View definition

(*State).ToThread

Defined in github.com/Shopify/go-lua/lua.go

Description

ToThread converts the value at index to a Lua thread (a State). This value must be a thread, otherwise the return value will be nil.

http://www.lua.org/manual/5.2/manual.html#lua_tothread

ToThread is referenced in 2 repositories

github.com/Shopify/go-lua github.com/Shopify/goluago