This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Parse glibc header file
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Davide Italiano <davide dot italiano at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Fri, 8 Oct 2010 07:32:53 -0400
- Subject: Re: Parse glibc header file
- References: <AANLkTin02wy6AHLi-CXc8qEj1_j+Jq9nkq4kXj4_ZR-r@mail.gmail.com>
On Fri, Oct 8, 2010 at 5:55 AM, Davide Italiano
<davide.italiano@gmail.com> wrote:
> Hi. I'm trying to parse glibc header files.
> My aim is to isolate function prototypes and put that in another
> header file generated from the first one.
> I'm getting frustrated from not of interest things like __THROW ,
> __BEGIN_NAMESPACE_STD , __wur and so on.
> Is there a way to strip these?
Sorry, is the question "Does a program exist to manipulate header
files?" You can use perl, sed, python, or anything to pre-process the
header files into whatever format you want.
What problem are you running into?
Cheers,
Carlos.