|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LFunction | |
|---|---|
| org.luaj.lib.j2se | |
| org.luaj.vm | |
| Uses of LFunction in org.luaj.lib.j2se |
|---|
| Subclasses of LFunction in org.luaj.lib.j2se | |
|---|---|
class |
LuajavaLib
|
| Uses of LFunction in org.luaj.vm |
|---|
| Subclasses of LFunction in org.luaj.vm | |
|---|---|
class |
LClosure
|
| Methods in org.luaj.vm that return LFunction | |
|---|---|
LFunction |
LuaState.checkfunction(int narg)
Checks whether the function argument narg is a function and
returns this function. |
LFunction |
CallInfo.currentfunc(LuaState vm)
|
LFunction |
LuaState.gethook()
Get the current hook function, if any. |
| Methods in org.luaj.vm with parameters of type LFunction | |
|---|---|
LValue |
LuaState.call(LFunction function)
Call a function with no arguments and one return value. |
LValue |
LuaState.call(LFunction function,
LValue arg0)
Call a function with one argument and one return value This may change values in the current stack frame. |
LValue |
LTable.foreach(LuaState vm,
LFunction function,
boolean indexedonly)
Executes the given f over all elements of table. |
void |
LuaState.invokeJavaFunction(LFunction javaFunction)
Invoke a LFunction being called via prepStackCall() |
LValue |
LuaState.luaV_call_index(LFunction function,
LValue table,
LValue key)
Call an index function with two arguments and one return value Values in the current stack frame will be preserved. |
LValue |
LuaState.luaV_call_newindex(LFunction function,
LValue table,
LValue key,
LValue value)
Call a newindex function with three arguments and one return value Values in the current stack frame will be preserved. |
void |
LuaState.pushfunction(LFunction f)
Pushes a function onto the stack. |
void |
LuaState.sethook(LFunction func,
int mask,
int count)
Set the hook function. |
| Constructors in org.luaj.vm with parameters of type LFunction | |
|---|---|
LThread(LFunction c,
LTable env)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||