Is it possible to create SWIG wrapper that references to another SWIG wrapper?
Филипп Бондарев via Swig-user <[email protected]>
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <[email protected]> |
There is exist external C++ library, let's name it "cpp_lib_A", for this library good men created SWIG wrapper for Python, let's name it "py_lib_a". I wrote my own C++ library with "cpp_lib_A" classes usage, let's name my lib as "cpp_lib_B". Also I created my own SWIG wrapper that I named "py_lib_b". When I call method from my "py_lib_b" that should return pointer to object of "cpp_lib_A" class, everything is ok, I get (Swig Object of type 'cpp_lib_A_class *' at 0x000002942BA02060), but I can't interact with this wrapper object (Which is understandable, I didn't describe interface of mensioned class). I wanna receive from my method pointer to class of "py_lib_a". Is it possible? How it should be googled? -- Best regards, Philipp Bondarev _______________________________________________ Swig-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/swig-user