static int get_onClick(IntPtr L)
{
object o = null;
try
{
o = ToLua.ToObject(L, 1);
TestEventListener obj = (TestEventListener)o;
TestEventListener.OnClick ret = obj.onClick;
ToLua.Push(L, ret);
return 1;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onClick on a nil value" : e.Message);
}
}