Lua SPOT
v1.0

se.krka.kahlua.test
Class UserdataArray

java.lang.Object
  extended by se.krka.kahlua.test.UserdataArray
All Implemented Interfaces:
JavaFunction

public class UserdataArray
extends java.lang.Object
implements JavaFunction


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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register(LuaState state)

call

public int call(LuaCallFrame callFrame,
                int nArguments)
Description copied from interface: JavaFunction
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)

Specified by:
call in interface JavaFunction
Parameters:
callFrame - - the current callframe for the function
nArguments - - number of function arguments
Returns:
N - number of return values. The N top objects on the stack are considered the return values

Lua SPOT
v1.0