mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* lib/argmatch.h: Include <stdcountof.h>. (ARRAY_CARDINALITY): Remove macro. (ARGMATCH_VERIFY): Use countof instead. * tests/test-argv-iter.c: Include <stdcountof.h>. (ARRAY_CARDINALITY): Remove macro. (main): Use countof instead. * tests/test-hash.c: Include <stdcountof.h>. (ARRAY_CARDINALITY): Remove macro. (main): Use countof instead. * tests/test-userspec.c: Include <stdcountof.h>. (ARRAY_CARDINALITY): Remove macro. (main): Use countof instead. * modules/argmatch (Depends-on): Add stdcountof-h. * modules/argv-iter-tests (Depends-on): Likewise. * modules/hash-tests (Depends-on): Likewise. * modules/userspec-tests (Depends-on): Likewise.
44 lines
594 B
Plaintext
44 lines
594 B
Plaintext
Description:
|
|
Search for an exact or abbreviated match of a string in an array of strings.
|
|
|
|
Files:
|
|
lib/argmatch.h
|
|
lib/argmatch.c
|
|
|
|
Depends-on:
|
|
assert-h
|
|
c99
|
|
error
|
|
exitfail
|
|
getprogname
|
|
gettext-h
|
|
gnulib-i18n
|
|
memcmp
|
|
quote
|
|
quotearg
|
|
bool
|
|
stdcountof-h
|
|
stdlib-h
|
|
memeq
|
|
streq
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += argmatch.c
|
|
|
|
Include:
|
|
"argmatch.h"
|
|
|
|
Link:
|
|
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
|
|
$(MBRTOWC_LIB)
|
|
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
|
|
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
all
|