Re: [Doxygen-users] Struct members displaying inconveniently
Brought to you by:
dimitri
From: <eds...@ya...> - 2002-03-07 21:27:37
|
The correct function pointer syntax is the syntax that Doxygen uses: const gchar* (*IResources::EntryName) (....); As a liberality (syntatic sugar), C++ allows you to CALL (not declare) the function pointed to by EntryName as: IResources st; st.EntryName = ...address of some function...; st.EntryName (); instead of the old K&R C style: (*st.EntryName) (); but you must not declare a function pointer as it would be a method declaration: const gchar* IResources::EntryName (....); is a declaration of a method that returns a const gchar * ... --- Moritz Voss <ma...@mo...> WROTE: > A revamping of a former question of mine: > I have structs that contain function pointers, to > serve as interfaces. Doxygen documents them as... > > const gchar*(* IResources::EntryName)(SLR_DIRECTORY > directory, guint index) > > ...for example. I'd like to have them shown as... > > const gchar* EntryName (SLR_DIRECTORY directory, > guint index) > > ...or... > > const gchar* IResources::EntryName (SLR_DIRECTORY > directory, guint index) > > ...instead. > > Is this possible? If so, how? > > -- > Regards, > Moritz Voss > > > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users _______________________________________________________________________________________________ Yahoo! Empregos O trabalho dos seus sonhos pode estar aqui. Cadastre-se hoje mesmo no Yahoo! Empregos e tenha acesso a milhares de vagas abertas! http://br.empregos.yahoo.com/ |