Re: [Hampshire] script to identify C function prototypes in …

Top Page

Reply to this message
Author: James Courtier-Dutton
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] script to identify C function prototypes in header files?
On 04/03/2008, Andy Random <andy.random@???> wrote:
>
> Hi,
>
> I'm looking for a way of parsing a bunch of C header files and extracting
> a list of function prototypes from them.
>
> Ideally in Perl, although anything I can call from a Perl script which
> produces the list would do.
>
> Anybody else done this before (I'm sure somebody somewhere must have), any
> suggestions or recommendations?
>
>    Andy

>


It depends what you want to do with the list.
"cscope" is a good tool.