[Tutor] c struct with python

Mehta, Anish Anish.Mehta@enst-bretagne.fr
Sat May 31 12:34:02 2003


Hello !

I have a c structure which i am representing with a class in python. The 
structure is of the form:

typedef struct abc
{

    void (*XY)(int a, int b);

}ABC;

void XY(int a, int b)
{
       # code here
}

Can someone tell me how this can be handled in python.

Thanks in advance.

Regards,

Anish MEHTA.