static int RemoveAll(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Newtonsoft.Json.Linq.JContainer obj = (Newtonsoft.Json.Linq.JContainer)ToLua.CheckObject <Newtonsoft.Json.Linq.JContainer>(L, 1); obj.RemoveAll(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }