示例#1
0
 static int AddClickEvent(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         UITableViewCell obj  = (UITableViewCell)ToLua.CheckObject <UITableViewCell>(L, 1);
         string          arg0 = ToLua.CheckString(L, 2);
         string          arg1 = ToLua.CheckString(L, 3);
         string          arg2 = ToLua.CheckString(L, 4);
         LuaFunction     arg3 = ToLua.CheckLuaFunction(L, 5);
         obj.AddClickEvent(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }