Hi everyone!
I am trying to wrap an abstract class to C#, but I always get the
"cannot instantiate abstract class" error, since SWIG generates a
construction function. I was looking to csinterfaces, but I could not
make it work. I dont know if I am doing wrong or if csinterfaces is
not what I need.
Here is a snippet:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
myclass.i
-----------
%typemap(csinterfaces) myclass "myclass"
%{
#include "myclass.h"
%}
class myclass
{
public::
void doSomething();
virtual void myFunc() = 0;
};
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
The C++ class interface is the same
Can anyone point me in the right direction?
Thanks in advance!
Juan Manuel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user