Esempio n. 1
0
 static int QPYX_SetStreamData_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         BestHttpOperation QPYX_obj_YXQP  = (BestHttpOperation)ToLua.CheckObject <BestHttpOperation>(L_YXQP, 1);
         byte[]            QPYX_arg0_YXQP = ToLua.CheckByteBuffer(L_YXQP, 2);
         BestHttpOperation QPYX_o_YXQP    = QPYX_obj_YXQP.SetStreamData(QPYX_arg0_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int SetStreamData(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         BestHttpOperation obj  = (BestHttpOperation)ToLua.CheckObject <BestHttpOperation>(L, 1);
         byte[]            arg0 = ToLua.CheckByteBuffer(L, 2);
         BestHttpOperation o    = obj.SetStreamData(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }