static int Clear(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); ConfigHandler obj = (ConfigHandler)ToLua.CheckObject <ConfigHandler>(L, 1); obj.Clear(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }