MCPcopy Index your code
hub / github.com/yuin/gopher-lua / Yield

Method Yield

_state.go:2004–2010  ·  view source on GitHub ↗
(values ...LValue)

Source from the content-addressed store, hash-verified

2002}
2003
2004func (ls *LState) Yield(values ...LValue) int {
2005 ls.SetTop(0)
2006 for _, lv := range values {
2007 ls.Push(lv)
2008 }
2009 return -1
2010}
2011
2012func (ls *LState) XMoveTo(other *LState, n int) {
2013 if ls == other {

Callers

nothing calls this directly

Calls 2

SetTopMethod · 0.95
PushMethod · 0.95

Tested by

no test coverage detected