Exemple #1
0
 static int QPYX_AddBinaryData_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 4);
         BestHttpOperation QPYX_obj_YXQP  = (BestHttpOperation)ToLua.CheckObject <BestHttpOperation>(L_YXQP, 1);
         string            QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         byte[]            QPYX_arg1_YXQP = ToLua.CheckByteBuffer(L_YXQP, 3);
         string            QPYX_arg2_YXQP = ToLua.CheckString(L_YXQP, 4);
         BestHttpOperation QPYX_o_YXQP    = QPYX_obj_YXQP.AddBinaryData(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int AddBinaryData(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         BestHttpOperation obj  = (BestHttpOperation)ToLua.CheckObject <BestHttpOperation>(L, 1);
         string            arg0 = ToLua.CheckString(L, 2);
         byte[]            arg1 = ToLua.CheckByteBuffer(L, 3);
         string            arg2 = ToLua.CheckString(L, 4);
         BestHttpOperation o    = obj.AddBinaryData(arg0, arg1, arg2);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }