Esempio n. 1
0
 static int QPYX_AddJavaScript_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         UniWebViewEx QPYX_obj_YXQP  = (UniWebViewEx)ToLua.CheckObject <UniWebViewEx>(L_YXQP, 1);
         string       QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         QPYX_obj_YXQP.AddJavaScript(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Esempio n. 2
0
 static int AddJavaScript(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UniWebViewEx obj  = (UniWebViewEx)ToLua.CheckObject <UniWebViewEx>(L, 1);
         string       arg0 = ToLua.CheckString(L, 2);
         obj.AddJavaScript(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }