Пример #1
0
 static int QPYX_AddField_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 3);
         BestHttpOperation QPYX_obj_YXQP  = (BestHttpOperation)ToLua.CheckObject <BestHttpOperation>(L_YXQP, 1);
         string            QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         string            QPYX_arg1_YXQP = ToLua.CheckString(L_YXQP, 3);
         BestHttpOperation QPYX_o_YXQP    = QPYX_obj_YXQP.AddField(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Пример #2
0
 static int AddField(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         BestHttpOperation obj  = (BestHttpOperation)ToLua.CheckObject <BestHttpOperation>(L, 1);
         string            arg0 = ToLua.CheckString(L, 2);
         string            arg1 = ToLua.CheckString(L, 3);
         BestHttpOperation o    = obj.AddField(arg0, arg1);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }