csjark module

Peter Otten __peter__ at web.de
Wed Sep 21 06:13:29 EDT 2016


bezenchu at gmail.com wrote:

> After setting up csjark (http://csjark.readthedocs.io/), I'm trying to
> test on of my C header files which has following statements:
> 
> typedef struct {
>    unsigned long X;
>    __int64 Y;
> } abc;
> 
> 
> If I'm changing __int64 to unsigned long I'm not getting this error
> For the __int64 i'm getting the mention error. Am I missing something?
> 
> 
> In addition, I'm getting following error:
> Attribute error("'tuple object has no attibute 'children'",)
> 
> I'd be glad to have some assistance.

It looks like development of csjark has stopped in 2011. Try installing a 
pycparser version from that time frame -- 2.05 should be a good candidate 
according to <https://github.com/eliben/pycparser/blob/master/CHANGES> so if 
you are using pip after

$ pip install pycparser==2.05

csjark might work.






More information about the Python-list mailing list