I know it's not a big deal to write a function header, but I will admit I am being lazy here.
Is there any tool to generate function headers? I think it's easy to add or delete a field within the function header if it's maintained using a tool.
Example:
/****************************************************************************
* NAME: name
* DESCRIPTION: text
* ARGUMENTS: args
* RETURNS: void
***************************************************************************/
If tomorrow, I plan to add two new fields, "date", and "reentrant", the tool should be able to do this:
/****************************************************************************
* NAME: name (date)
* DESCRIPTION: text
* ARGUMENTS: args
* RETURNS: void
* RE-ENTRANT :
***************************************************************************/
The closest that I could find is following http://www.vim.org/scripts/script.php?script_id=938. However it's VI editor dependent, and I am not VI's greatest fan.
Some simple script should also do.