emacs/lwlib
Paul Eggert 225876e979 ARRAYELTS → countof
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.
2026-05-26 21:57:20 -07:00
..
ChangeLog.1 ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
deps.mk ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lwlib-int.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lwlib-utils.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lwlib-utils.h Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
lwlib-widget.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lwlib-Xaw.c ARRAYELTS → countof 2026-05-26 21:57:20 -07:00
lwlib-Xaw.h More porting to GCC 8 of --enable-gcc-warnings 2018-12-17 08:16:17 -08:00
lwlib-Xlw.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lwlib-Xlw.h More porting to GCC 8 of --enable-gcc-warnings 2018-12-17 08:16:17 -08:00
lwlib-Xm.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lwlib-Xm.h Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lwlib.c Avoid a memset in allocate_widget_instance 2026-05-23 19:18:53 -07:00
lwlib.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
Makefile.in ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
README Generate a ChangeLog file from commit logs 2015-04-07 00:00:55 -07:00
xlwmenu.c Omit useless casts found by GCC 16 2026-05-26 21:57:19 -07:00
xlwmenu.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
xlwmenuP.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00

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.