|
From: emchristiansen <eri...@gm...> - 2010-03-21 02:08:11
|
I have been provided with a solution, now posted at http://docs.google.com/Doc?docid=0ARunb86VoFSEZGhqc3JrM2hfNTVkejg5ZDg5aw&hl=en. emchristiansen wrote: > > I want to write a C++ function that takes an std::string and prints it, > and use SWIG to call it from Python. I've read some documentation on using > the STL from SWIG, but it doesn't mesh with my experience. My source file, > interface file, and build commands are at http://etherpad.com/n05OowyOZK. > Can someone please help? > > I saved the state of the document at the time of this writing as Revision > 1. > -- View this message in context: http://old.nabble.com/Request-for-simple-example%3A-pass-string-from-Python-to-C%2B%2B-as-std%3A%3Astring-tp27971995p27973332.html Sent from the swig-user mailing list archive at Nabble.com. |