On Thu, Mar 07, 2002 at 11:35:34AM +0100, Moritz Voss 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?
This is possible by writing an input filter that does the translation
and let doxygen use that to filter the input (INPUT_FILTER).
An alternative is to package the function pointer into macros, and let
doxygen's preprocessor expand them in the way you want. But this requires
changes to the original code.
Regards,
Dimitri
|