Query on Boost (Python )

srijit at yahoo.com srijit at yahoo.com
Tue Aug 24 17:03:09 CEST 2004


Hello,

How will the Boost.Python C++ Wrapper look for structures similar to
one mentioned below?

typedef struct struct_TEMP {
    long            length;    
    char            tempId[24];
    long            count;
  
} TEMP_STRUCT;

I tried to use Pyste but ended up getting the following error :
cannot convert from 'const char [24]' to 'char [24]'

So I am interested to learn how to write a proper interface file
(.pyste) when I am using Pyste.

Regards,
Srijit



More information about the Python-list mailing list