[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sp
Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr
Wed, 3 Jan 2007 22:44:40 +0800
I've been looking at swig.org and gnu.org. What else would be good to look
I suppose to implement the callback from C++ to Python, I declare a new
class in Python that inherits from gr_feval.
I wonder how we specify in C++ the call to the new class in Python. And how
do we pass the gr_message_sptr from C++ to Python code? The example I see
shows only simple calls, all from Python.
I'm really feeling lost so some inputs would help.
----- Original Message -----
From: "Eric Blossom" <address@hidden>
To: "Jeremy Chew" <address@hidden>
Sent: Wednesday, January 03, 2007 10:06 PM
Subject: Re: [Discuss-gnuradio] Callback from C++ to Python Passing
On Wed, Jan 03, 2007 at 09:39:31PM +0800, Jeremy Chew wrote:
It seems that gr_feval is called from Python and returns to Python, or is
called from C and returns to C, if I'm not mistaken.
You are mistaken.