discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] SWIG Typemap for Two-way Conversion Between Python St


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 such
strings 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]