[Israel.pm] Parsing C types

Yossi Itzkovich Yossi.Itzkovich at ecitele.com
Thu Nov 2 01:58:31 PST 2006


Hi,
 
I am looking for a Perl module (or a different tool (except a compiler
:-) )), that will help me parse and understand C header files.
 
For example I have:
 
struct A
{
    int x;
    int y[5];
};
 
struct B
{
    int z;
    A  k;
};
 
 
When parsing B I want to be able to find what is A etc. (wih more
optional recursion). and have a list of all fields that B has + what got
from internal types.
 
So, Is there such a module or utility I can use ?
 
Thanks
 
Yossi




More information about the Perl mailing list