| 
Lua SPOT v1.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.krka.kahlua.stdlib.CoroutineLib
public class CoroutineLib
| Constructor Summary | |
|---|---|
CoroutineLib(int index)
 | 
|
| Method Summary | |
|---|---|
 int | 
call(LuaCallFrame callFrame,
     int nArguments)
General contract Input: callFrame = the frame that contains all the arguments, and where all the results should be put. nArgs = number of function arguments callFrame.get(i) = an argument (0 <= i < nArgs)  | 
static void | 
register(LuaState state)
 | 
 java.lang.String | 
toString()
 | 
static int | 
yield(LuaCallFrame callFrame,
      int nArguments)
 | 
static void | 
yieldHelper(LuaCallFrame callFrame,
            LuaCallFrame argsCallFrame,
            int nArguments)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public CoroutineLib(int index)
| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic static void register(LuaState state)
public int call(LuaCallFrame callFrame,
                int nArguments)
JavaFunction
call in interface JavaFunctioncallFrame - - the current callframe for the functionnArguments - - number of function arguments
public static int yield(LuaCallFrame callFrame,
                        int nArguments)
public static void yieldHelper(LuaCallFrame callFrame,
                               LuaCallFrame argsCallFrame,
                               int nArguments)
  | 
Lua SPOT v1.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||