C# Class SLua.LuaVarObject.MethodWrapper

Exibir arquivo Open project: tenvick/hugula

Public Methods

Method Description
MethodWrapper ( object self, IList mi ) : System
checkArgs ( IntPtr l, int from, MethodInfo m, object &args ) : void
invoke ( IntPtr l ) : int

Private Methods

Method Description
checkVar ( IntPtr l, int p, Type t ) : object
forceInvoke ( IntPtr l, MethodInfo m ) : int

invoke a C# method without match check

matchType ( IntPtr l, int p, LuaTypes lt, Type t ) : bool
matchType ( IntPtr l, int from, ParameterInfo pis, bool isstatic ) : bool

Method Details

MethodWrapper() public method

public MethodWrapper ( object self, IList mi ) : System
self object
mi IList
return System

checkArgs() public method

public checkArgs ( IntPtr l, int from, MethodInfo m, object &args ) : void
l System.IntPtr
from int
m System.Reflection.MethodInfo
args object
return void

invoke() public method

public invoke ( IntPtr l ) : int
l System.IntPtr
return int