Docs mention "...only include parameters in the topic name if you need to distinguish between two functions with the same name."
But i cant see how <myfunction> can distinguish from two functions named myfunction?
Documenting with parameters means writing
// Function: myfunction (int, int)
or something similar. You can put anything you want in the parenthesis after the title and it won't break the prototype matching. The effect of this is you always have to write <myfunction (int, int)> to link to that function now. Just <myfunction> won't work, hence you should only use it when absolutely necessary.
In your case you can have something like myfunction(php) and myfunction(js), but by doing that you'll lose the ability to link to just <myfunction>. I realize this may be less than ideal, but it's all that can be done with the current version. If you really want you can have a text file that has topics like this in case you forget to do it somewhere:
See <myfunction(php)> or <myfunction(js)>.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.