just to follow up. I managed to get it working by having a closer look
at the xxmodules. However, the example does the following

        typedef struct
        {
            PyStructBaseClass  mBase;
            int mValue;
        } PyStructDerivedClass;

Does anything speak agains doing this ?

        typedef struct : public PyStructBaseClass
        {
            int mValue;
        } PyStructDerivedClass;

It seems to work for me. The advantage is that access to the members in
that structure is easier. The .mBase is not needed ....

Cheers
Jochen

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to