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