C# Class WinterSync.LuaFunction

Inheritance: LuaValue
Datei anzeigen Open project: ZeroK-RTS/SpringRTS-Tools

Public Methods

Method Description
Call ( IntPtr L, int resultNumber ) : WinterSync.LuaValue[]
CallGlobal ( IntPtr L, string functionName, int resultNumber ) : WinterSync.LuaValue[]
Check ( IntPtr L, int n ) : void
KeepAlive ( ) : void

Store functions delegates so the CLR won't garbage collect them (it can't know they are still in use in the Lua VM).

LuaFunction ( Lua value ) : System
Push ( IntPtr L ) : void

Method Details

Call() public static method

public static Call ( IntPtr L, int resultNumber ) : WinterSync.LuaValue[]
L System.IntPtr
resultNumber int
return WinterSync.LuaValue[]

CallGlobal() public static method

public static CallGlobal ( IntPtr L, string functionName, int resultNumber ) : WinterSync.LuaValue[]
L System.IntPtr
functionName string
resultNumber int
return WinterSync.LuaValue[]

Check() public static method

public static Check ( IntPtr L, int n ) : void
L System.IntPtr
n int
return void

KeepAlive() public method

Store functions delegates so the CLR won't garbage collect them (it can't know they are still in use in the Lua VM).
public KeepAlive ( ) : void
return void

LuaFunction() public method

public LuaFunction ( Lua value ) : System
value Tao.Lua.Lua
return System

Push() public method

public Push ( IntPtr L ) : void
L System.IntPtr
return void