Hello,

I am looking for a tool/utility by which can convert c header file to a
python file. A typical header file that I want convert looks like:

#ifndef __VAR1
#define __VAR1

#define VAR2  "Rev 2"
#define VAR3   2L

typedef struct
{
....
....
}

#if defined(__cplusplus) || defined(__cplusplus__)
extern "C" {
#endif

And also function declarations

Thanks,
Tarun
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to