mini-monster
mini-monster

Reputation: 13

Doxygen commenting parameters for unmanaged code in c# wrapper

I am using Doxygen to document our C# wrapper methods. Some of the methods have unmanaged parameters which are visible in the declaration and are written to the documentation e.g.

void Register(
    [In, MarshalAs(UnmanagedType.U1)] byte nPriority,
    [In, MarshalAs(UnmanagedType.Interface)] ITag Tag)

I would like Doxygen to hide the marshalling part of the declaration in the documentation i.e.

void Register(
    byte nPriority,
    ITag Tag)

Is this possible with Doxygen or will I have to post-process the html?

Upvotes: 0

Views: 149

Answers (1)

doxygen
doxygen

Reputation: 14879

You could create an input filter similar to what is shown here:

Doxygen and add a value of an attribute to the output documentation

Upvotes: 1

Related Questions