$Date$
$Revision$
elements
funcparams
funcparams
Element
funcparams
&funcparams.purpose;
&funcparams.synopsis.gen;
Description
In some programming languages (like C), it is possible for a
function to have a pointer to another
function as one of its parameters. In the syntax summary for such a function, the
FuncParams element provides a wrapper for the
function pointer.
For example, the following prototype describes the function
sort, which takes two parameters. The first
parameter, arr, is an array of integers. The second
parameter is a pointer to a function, comp that returns
an int. The comp function takes two parameters,
both of type int *:
void sort
int *arr[]
int (* comp)
int *, int *
]]>
Processing expectations
&format.inline; For a complete description of the processing expecations,
see FuncSynopsis.
&FutureChanges;
&fu.interfacedefinition;
&funcparams.parents.gen;
&funcparams.children.gen;
See Also
&funcparams.seealso.gen;
Examples
&funcparams.example.1.txt;
&funcparams.example.1.gen;
&funcparams.example.seealso.gen;