Hi all:
        I've read sip tutorial on internet and I know how to wrap a int foo(float);
But I still have problem to wrap the following code snippet:

#include <string>
#include <vector>
using namespace std;
class A{
public:
        void foo(const vector<string>& input,vector<string>& output);
};

I want to wrap it in this way:
python:

in = ['a','b','c']
out = []
A.foo(in,out)
and the out should look like:['c','b','a'] 

How can I do this using SIP.

BTW: the sip document link on google seems broken.Where can I found it?
-- 
                                        Sincerely yours,
                                                ejoy


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to