«
Some applications need to store further information for each subcommand,
for example a function pointer which refers to the implementation of
- the subcommand. The optional user data feature allows to define one
- application defined pointer that can be retrieved by calling this
- function.
+ the subcommand. The optional user data feature allows the application
+ to define a pointer that can be retrieved by calling this function.
Of course storing one function pointer per command could simply be
done by defining a suitable array in the application which contains