emacs/lib-src
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
..
asset-directory-tool.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
be_resources.cc ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00: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
ebrowse.c ARRAYELTS → countof 2026-05-26 21:57:20 -07:00
emacsclient.c Avoid a memset in emacsclient get_server_config 2026-05-23 19:18:53 -07:00
etags.c ARRAYELTS → countof 2026-05-26 21:57:20 -07:00
hexl.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
make-docfile.c ARRAYELTS → countof 2026-05-26 21:57:20 -07:00
make-fingerprint.c ; 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
movemail.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ntlib.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ntlib.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
pop.c Avoid memsets in pop.c 2026-05-23 19:18:53 -07:00
pop.h ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rcs2log ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
README
seccomp-filter.c ARRAYELTS → countof 2026-05-26 21:57:20 -07:00
update-game-score.c ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.