SWIG: C++ and Python/ vector<string>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas

    SWIG: C++ and Python/ vector<string>

    Hi,

    I have a C++-Class "compiled" with SWIG into a Python-Modul. It works
    fine. But there's is a problem with the C++-Returntype vector<string>.
    If I call in my compiled Python-Module a certain method (from the C++-
    Class) there is no vector as result - although the C++-Counterpart
    returns a vector<string>. The Python-Counterpart (the method) returns
    only a string like this:

    _15436785_p_vec tor (alike this)

    What can I do?

    Thanks for help.

    o-o

    Thomas
Working...