[Doxygen-develop] Macros
Brought to you by:
dimitri
From: Stefan M. <me...@sk...> - 2001-08-27 08:48:55
|
Hi, I have following class definition : // ---------------------------------------------------------- // Class definition. class CRandomGenerator : public IRandomGenerator { public: [...snipped code...] // ------------------------ // Seed setting. IWMETHODIMP(void)SetSeed( ulong _uSeed ); IWMETHODIMP(ulong)GetSeed(); [...snipped code...] }; IWMETHODIMP is defined within another header that is not included in the randomgenerator header in this way : #define IWMETHODCALLTYPE __stdcall #define IWMETHODIMP(type) type IWMETHODCALLTYPE Unfortunately, doxygen doesn't seem to be able to resolve following comment : /*! \fn IWMETHODIMP(void) CRandomGenerator::SetSeed( ulong _uSeed ); * \brief Set the seed of the random number generator. * \param _uSeed The seed to use. */ I also tried to put the comment just above the SetSeed function declaration in this way : /*! \fn IWMETHODIMP(void) SetSeed( ulong _uSeed ); * \brief Set the seed of the random number generator. * \param _uSeed The seed to use. */ Which didn't work, too... The warning I get is : D:/Projekte/IW/Src/baselib/Random/Random.h:38 Warning: member SetSeed of class C RandomGenerator cannot be found What can I do ? Kind regards, Stefan Maton ----------------------------- Programmer Resources Site http://www.sun-a-moon.org ----------------------------- |