No documentation is generated for any of the functions for my C repo
My configuration:
# Difference with default Doxyfile 1.9.1 PROJECT_NAME = WLib OUTPUT_DIRECTORY = doxy OPTIMIZE_OUTPUT_FOR_C = YES EXTRACT_ALL = YES CASE_SENSE_NAMES = NO HIDE_SCOPE_NAMES = YES INPUT = . FILE_PATTERNS = *.c \ *.h RECURSIVE = YES Edit the code:
/** \fn Array Fill * \param sa size of the array A in bytes * \param a the array A * \param sb size of the array B in bytes * \param b the array B * \brief Takes two arrays and their sizes. Fills the array A with as many * instances of array B as the size of array A can handle. * \return The array A * Method: * -# If /e a = NULL, then the array of size /e sa will be allocated * -# If /e b = NULL and /e sb = 0, then array will be filled with zeros * -# If /e sb = 0, the function does nothing and returns NULL * -# Declares a variable /e i, this is be the pointer offset * -# Assignes array /e b to array /e a offsetted by /e i, and incriments * /e i by /e sb. This step is repeated until less than sb bytes are * left untreated * -# Assignes the remaining part of array /e a with whatever piece of * array /e b fits */ VO* afl(register const U16 sa, register VO* a, register U8 sb, register const VO* b ) { ... }
doxygen -xyou can reduce its size (it will only give the items different from the default settings).*.cfile from which you don't see the functions. Doxygen is sometimes quite strict on when it shows documentation, especially when there is a*.cfile but not a*.hfile with the prototypes it doesn't show the functions. Most of the time this can be overcome by adding at the top of the file/// \file/**...*...*/comments, all doxygen keywords start with\, occasionally with@. There's really something strange taking place.