Beispiel #1
0
 static int QPYX_SetCompletion_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         TextWrapEx QPYX_obj_YXQP  = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L_YXQP, 1);
         int        QPYX_arg0_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 2);
         QPYX_obj_YXQP.SetCompletion(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Beispiel #2
0
 static int SetCompletion(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         TextWrapEx obj  = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L, 1);
         int        arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         obj.SetCompletion(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }