mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
C2y will standardize countof as the macro that Emacs uses the name ARRAYELTS for. Switch to the standard name, which is supported by GCC 16+, by Clang 21, and by the Gnulib stdcountof-h module already in use for compilers that do not support countof. Also, use countof in a few places where we missed using ARRAYELTS. * admin/coccinelle/arrayelts.cocci: Suggest countof, not ARRAYELTS. * admin/merge-gnulib (GNULIB_MODULES): Add stdcountof-h, as it is now a direct rather than an indirect dependency. * exec/trace.c, src/lisp.h, src/sfnt.c: Include <stdcountof.h>. (ARRAYELTS): Remove. All uses replaced by countof. * lib-src/ebrowse.c, lib-src/etags.c, lib-src/make-docfile.c: * lib-src/seccomp-filter.c, lwlib/lwlib-Xaw.c: Prefer <stdcountof.h> and countof to doing things by hand. |
||
|---|---|---|
| .. | ||
| ChangeLog.1 | ||
| COPYING | ||
| deps.mk | ||
| lwlib-int.h | ||
| lwlib-utils.c | ||
| lwlib-utils.h | ||
| lwlib-widget.h | ||
| lwlib-Xaw.c | ||
| lwlib-Xaw.h | ||
| lwlib-Xlw.c | ||
| lwlib-Xlw.h | ||
| lwlib-Xm.c | ||
| lwlib-Xm.h | ||
| lwlib.c | ||
| lwlib.h | ||
| Makefile.in | ||
| README | ||
| xlwmenu.c | ||
| xlwmenu.h | ||
| xlwmenuP.h | ||
This subdirectory contains the Lucid Widget Library (lwlib), which provides a uniform interface to a few different X toolkits. The library was written by Lucid, Inc and released under the terms of the GPL version 1 (or later). It is not considered part of GNU Emacs. This version of the library differs from the original as described in the ChangeLog.1 file.