Skip to content

Doxygen: @param / @return / @retval / @exception ignored on typdef function pointer #85

@burningmime

Description

@burningmime

Easiest way to repro this is to make a file with this:

/**
 * User-provided logging function for displaying informational, warning, or error messages. This function may be called
 * on any thread (and might even be called on multiple threads at once), so be sure to lock appropriately and avoid
 * static data.
 *
 * @param level one of the values of the #semtach_LogLevel enumeration, specifying the importance of the message.
 * @param message a null-terminated string containing the message to write. this buffer is only valid for the length
 *     of the call, so if you plan to use it afterwards, you must make a copy of it.
 */
typedef void(*setmatch_LogCallback)(semtach_LogLevel level, const char* message);

When running dox2html5.py, it gives:

WARNING:root:setmatch_8h.xml: unexpected @param / @return / @retval / @exception found in typedef description, ignoring

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd partyRequires a modification to a 3rd party project.help wantedSuitable for a community contribution.laterzWill get resolved eventually, but not now.

    Projects

    Status

    TODO

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions