Hello

 

My C++ code looks like this:

 

typedef int (*MyFunction)( int, int );

 

void AddCallback( ..., MyFunction func, ... );

 

 

I would like to find the proper typemaps in swig to generate the following:

 

delegate int MyFunction( int, int );

 

void AddCallback( MyFunction func );

 

 

Any idea ?

 

ÉC