1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/trim
Paul Eggert c793de02c7 trim: support GNULIB_MCEL_PREFER
Support mcel API for apps that prefer it.
The following changes are in effect only if GNULIB_MCEL_PREFER.
* lib/trim.c: Include mcel.h, not mbchar.h and mbuiterf.h.
(trim2): Use mcel API.
* modules/trim (Depends-on): Add c32isspace.
2023-09-09 18:11:44 -07:00

33 lines
437 B
Plaintext

Description:
trim() function: remove leading and/or trailing whitespaces
Files:
lib/trim.h
lib/trim.c
Depends-on:
c32isspace
mbchar
mbuiterf
mempcpy
xalloc-die
configure.ac:
Makefile.am:
lib_SOURCES += trim.c
Include:
"trim.h"
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
GPL
Maintainer:
Davide Angelocola