static int ReplaceTest(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         StrFiltermanger obj  = (StrFiltermanger)ToLua.CheckObject(L, 1, typeof(StrFiltermanger));
         string          arg0 = ToLua.CheckString(L, 2);
         int             arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.ReplaceTest(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int Replace(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         StrFiltermanger obj  = (StrFiltermanger)ToLua.CheckObject(L, 1, typeof(StrFiltermanger));
         string          arg0 = ToLua.CheckString(L, 2);
         string          o    = obj.Replace(arg0);
         LuaDLL.lua_pushstring(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }