Re: [Doxygen-users] support for K&R-style function arguments
Brought to you by:
dimitri
|
From: John S. <joh...@se...> - 2001-08-09 06:17:30
|
Zhen Yin wrote:
>
> So far doxygen doesn't support for K&R-style function arguments. I was
> doing a project which applies Doxygen to a large development tree. Many
> source codes have K&R-style function arguments, such as:
> char * xcalloc(nelem, elsize)
> lg_size_t nelem;
> lg_size_t elsize;
> {......}
>
> For a series of functions which use above format, doxygen will only
> extract the first one, i.e., in "Function Documentation", it only lists
> the first function.
>
> Does anyone have any experience about temporarily handling this problem?
>
I'd suggest getting hold of a K&R-to-ANSI converter (I believe GNU
supply one with their compilers) and use it as an INPUT_FILTER for
Doxygen.
Good luck,
John
|