I have a software product with an public api, which i want to documentate in LaTeX. The output should look like the following
FunctionName(type1 param1, type2 param2 [, type3 param3] ...)
param1: (required) does this
param2: (required) does this with an longer explanation
param3: does that
I currently achive that with lstlistings for the first line and an description Environment for the paramter explanation.
Is there a package that allows me to write something like
\begin{function}{<functionName>}
\param[type=type1,required] does this
\param[type=type2,required] does that
...
\end{function}
I tried to develop that by myselve but it stuck at writing the CallString to the aux file, because i processed the function environment as an description environment, and wanted to load the first line in the second run from an aux file.
So the question is, whether there is allready a package that can archieve that.
