|
From: | Jeremy Chew |
Subject: | [Discuss-gnuradio] SWIG Typemap for Two-way Conversion Between Python Stringand (char*, int) in C++ |
Date: | Fri, 5 Jan 2007 21:48:18 +0800 |
Hi, I've read that we can specify a typemap to change an input Python string to (char*,int) in C++. How do we specify a typemap for a C++ extension that also converts suchstrings from C++ to Python? I want to have C++ calls that receive strings from Python code as well as C++ calls that pass strings to Python code.
Thanks,Jeremy
[Prev in Thread] | Current Thread | [Next in Thread] |