I would simply make the names match between the prototype and the impl.,
so 1)

Fabien

> Trying to fix up those discrepancies in Fl_Browser's docs
> where we have discrepancies like this in the "method index":
>
>                         ________________ no variable names in the prototype
>                        /           /
>         void insert (int, FL_BLINE *)
>         Insert a new line *t* before *line*.
>                             \___________\____ variable names in the docs
>
> Apparently when doxygen generates the "method index":
>
>       1) It takes the prototype from our .H file
>       2) The first line from the docs (or the \brief)
>
> So to solve this, I can either:
>
>       1) add variable names to the .H prototypes so they appear in the index
>
>       - or -
>
>       2) Change the docs so the first line (or \brief) doesn't mention
>          variable names.. those would only be mentioned in subsequent
>          lines of the docs.
>
> Seems like #1 would make the index more descriptive, showing var names
> along with the data types.
>
> But #2 would be easier, and would allow the .H files to be left alone,
> and would prevent the potential for varname discrepancies between the
> ..cxx and .H.
>
> Thoughts?

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to