[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 28 Feb 2008 21:43:06 +0100
> What do you think?
The module is a worthy addition.
> I was unsure where to document this, it isn't either a function or
> header file, strictly speaking.
I would put its documentation in chapter "Particular modules". If/when
the 'inline' module gets documented, one might combine these into a chapter
> AH_VERBATIM(__FUNC__, [
> #if __STDC_VERSION__ < 199901L
Tests of __STDC_VERSION__ are often wrong, in either direction. A autoconf
test is more likely to be right everywhere.
Also, how about a unit test? It can be as simple as
ASSERT (strlen (__func__) + 1 == sizeof (__func__));