I have simple cpp class
A { public: void foo(); };
and A.i
%module TestA %{ #include "A.hxx" %} %include "A.hxx"
after swig -c++ -java A.i swig generates proxy java class A public class A { private transient long swigCPtr; ...}
swig -c++ -java A.i
public class A { private transient long swigCPtr; ...}
Question: Is it possible to add some base Java class for class A and generate some additional methods with custom logic which can be platform dependent? Thanks for help
class A
1.4m articles
1.4m replys
5 comments
57.0k users