handling refrence to pointers/double pointers using SWIG [C++ to Java]
- by Siddu
My code has an interface like
class IExample { ~IExample(); //pure virtual methods ...};
a class inheriting the interface like
class CExample : public IExample { protected: CExample(); //implementation of pure virtual methods ... };
and a global function to create object of this class -
createExample( IExample *& obj ) { obj = new…