From: Ryan Bloom Date: Sat, 11 Aug 2001 18:03:28 +0000 (+0000) Subject: Fix the macro expansion problem in the hook declaration. X-Git-Tag: 2.0.24~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c678242ec9b91905cc9e1bb7b9a429fb808ab49;p=apache Fix the macro expansion problem in the hook declaration. Submitted by: Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90098 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/doxygen.conf b/docs/doxygen.conf index f2051c573c..487eb6df2a 100644 --- a/docs/doxygen.conf +++ b/docs/doxygen.conf @@ -1,18 +1,26 @@ PROJECT_NAME=Apache +#INPUT=srclib/apr INPUT=. RECURSIVE=YES FILE_PATTERNS=*.h OUTPUT_DIRECTORY=docs/dox +ENABLE_PREPROCESSING=YES MACRO_EXPANSION=YES +QUIET=YES EXPAND_ONLY_PREDEF=YES -EXPAND_AS_DEFINED= +#EXPAND_AS_DEFINED= # not sure why this doesn't work as EXPAND_AS_DEFINED, it should! -PREDEFINED=APR_DECLARE(x)=x APR_DECLARE_NONSTD(x)=x \ - AP_DECLARE_HOOK(ret,name,args)="ret name args" AP_DECLARE(x)=x \ - AP_DECLARE_NONSTD(x)=x DOXYGEN APU_DECLARE_DATA APU_DECLARE(x)=x +PREDEFINED="APR_DECLARE(x)=x" \ + "APR_DECLARE_NONSTD(x)=x" \ + "AP_DECLARE_HOOK(ret,name,args)=ret name args;" \ + "AP_DECLARE(x)=x" \ + "AP_DECLARE_NONSTD(x)=x" \ + DOXYGEN= \ + APU_DECLARE_DATA= \ + "APU_DECLARE(x)=x" OPTIMIZE_OUTPUT_FOR_C=YES diff --git a/include/http_request.h b/include/http_request.h index cee11b4cf3..21693bdf4b 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -270,10 +270,6 @@ AP_DECLARE(void) ap_die(int type, request_rec *r); /* Hooks */ -/* ###: doxygen grouping doesn't appear to work, but it should. Checking with - * doxygen (Ben). - */ - /** * Gives modules a chance to create their request_config entry when the * request is created.