Re: Macroized Functions

Frank Richter <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
On 13.10.2005 18:49, Duane Ellis wrote:
> I've tried:
> 
> #ifdef DOXYGEN
> #define TRAPCALL( X, Y, Z )      X Y Z
> #endif
> 
> but that does not help, doxygen does not expand #defines.
> 
> Doing #ifdef DOXYGEN blocks around hundreds of API function is *NOT* a 
> good idea.

Did you check the PREDEFINED and EXPAND_AS_DEFINED config options?
I think something like 'PREDEFINED = "TRAPFUNC(a,b,c)=a b c"' would do
the trick.

-f.r.



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.