gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / snippet / arg-nonnull
1 Description:
2 A C macro for declaring that specific arguments must not be NULL.
3
4 Applicability:
5 all
6
7 Files:
8 build-aux/snippet/arg-nonnull.h
9
10 Depends-on:
11
12 configure.ac:
13
14 Makefile.am:
15 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
16 # statements but through direct file reference. Therefore this snippet must be
17 # present in all Makefile.am that need it. This is ensured by the applicability
18 # 'all' defined above.
19
20 BUILT_SOURCES += arg-nonnull.h
21 # The arg-nonnull.h that gets inserted into generated .h files is the same as
22 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
23 # off.
24 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         sed -n -e '/GL_ARG_NONNULL/,$$p' \
27           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
28           > $@-t && \
29         mv $@-t $@
30 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
31
32 ARG_NONNULL_H=arg-nonnull.h
33
34 Include:
35
36 License:
37 LGPLv2+
38
39 Maintainer:
40 Bruno Haible