]> Savannah Git Hosting - gnulib.git/commitdiff
uchar: Include the necessary snippets.
authorBruno Haible <bruno@clisp.org>
Fri, 28 Jul 2023 13:15:26 +0000 (15:15 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 28 Jul 2023 13:15:26 +0000 (15:15 +0200)
* lib/uchar.in.h: Add insertion points for _GL_ARG_NONNULL and
_GL_WARN_ON_USE.
* modules/uchar (Depends-on): Add snippet/arg-nonnull,
snippet/warn-on-use.
(Makefile.am): In uchar.h, include the ARG_NONNULL_H and WARN_ON_USE_H
snippets.

ChangeLog
lib/uchar.in.h
modules/uchar

index b1ccb85e9a0c604b4ad381298ea80bf7ad32d08d..0f9b9b2db7fb6382c88da0d27eb4dff1fb284df8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-07-28  Bruno Haible  <bruno@clisp.org>
+
+       uchar: Include the necessary snippets.
+       * lib/uchar.in.h: Add insertion points for _GL_ARG_NONNULL and
+       _GL_WARN_ON_USE.
+       * modules/uchar (Depends-on): Add snippet/arg-nonnull,
+       snippet/warn-on-use.
+       (Makefile.am): In uchar.h, include the ARG_NONNULL_H and WARN_ON_USE_H
+       snippets.
+
 2023-07-28  Bruno Haible  <bruno@clisp.org>
 
        mbmemcasecmp, mbmemcasecoll: Avoid test failure on MSVC.
index 15c4818aed5a28143d494775775c115bdcaed184..ed1a688d0ce0e80e0f00efed4a8193330277063a 100644 (file)
 
 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
 
+/* The definition of _GL_ARG_NONNULL is copied here.  */
+
+/* The definition of _GL_WARN_ON_USE is copied here.  */
+
 
 _GL_INLINE_HEADER_BEGIN
 
index 69ce596869bb036005cec1bddad91d0d5aedb123..c1e8c689afa52a4e4a792b0691222ba09ddd57e2 100644 (file)
@@ -9,7 +9,9 @@ m4/stdint.m4
 Depends-on:
 gen-header
 include_next
+snippet/arg-nonnull
 snippet/c++defs
+snippet/warn-on-use
 extern-inline
 assert-h
 stdint
@@ -23,7 +25,7 @@ AC_PROG_MKDIR_P
 Makefile.am:
 BUILT_SOURCES += uchar.h
 
-uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H)
+uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
 @NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
        $(gl_V_at)$(SED_HEADER_STDOUT) \
              -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
@@ -76,6 +78,8 @@ uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H)
              -e 's|@''REPLACE_MBRTOC16''@|$(REPLACE_MBRTOC16)|g' \
              -e 's|@''REPLACE_MBRTOC32''@|$(REPLACE_MBRTOC32)|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
              $(srcdir)/uchar.in.h > $@-t
        $(AM_V_at)mv $@-t $@
 MOSTLYCLEANFILES += uchar.h uchar.h-t