Monday, August 30, 2010

Re: How to output all the declarations of functions into another file?

Hi,

On Sun, Aug 29, 2010 at 8:42 PM, liwq <eliweiq001@gmail.com> wrote:
> if in a file function.c there are:
>
> void aa(void)
> {
> ....
> }
>
> void bb(void)
> {
> ....
> }
>
> .........
>
>
>
> How to get another file function.h automatically in which there are:
> void aa(void);
> void bb(void);
> .........
>

You can use the cproto tool or exuberant ctags to generate the
function prototypes:

http://sourceforge.net/projects/cproto/
http://ctags.sourceforge.net/

- Yegappan

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: