Documentation ¶
Overview ¶
Package las is lua associated state functionally it's just a module isolating a map of *lua.State to more *AssociatedState
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssociatedState ¶
AssociatedState is the a collection of state that gets associated with *lua.State
func Get ¶
func Get(state *lua.State) (*AssociatedState, bool)
Get the *AssociatedState for the given *lua.State or a false second return value if not found
func (*AssociatedState) GetTakeCount ¶
func (as *AssociatedState) GetTakeCount() int32
GetTakeCount atomically
func (*AssociatedState) IncrementTakeCount ¶
func (as *AssociatedState) IncrementTakeCount()
IncrementTakeCount atomically
Click to show internal directories.
Click to hide internal directories.