Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr

2007-01-03 Thread Jeremy Chew
OTECTED]> Cc: Sent: Wednesday, January 03, 2007 10:06 PM Subject: Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr 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 fr

Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr

2007-01-03 Thread Eric Blossom
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. Eric ___ Discuss-gnuradio mailing list D

Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr

2007-01-03 Thread Jeremy Chew
L PROTECTED]> Cc: Sent: Wednesday, January 03, 2007 4:57 PM Subject: Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr On Wed, Jan 03, 2007 at 04:19:24PM +0800, Jeremy Chew wrote: Hi, I'm working on a C++ extension. How can we use SWIG to program a

Re: [Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr

2007-01-03 Thread Eric Blossom
On Wed, Jan 03, 2007 at 04:19:24PM +0800, Jeremy Chew wrote: > Hi, > > I'm working on a C++ extension. > > How can we use SWIG to program a callback from C++ to Python that passes a > gr_message_sptr? I'm trying to avoid polling the C++ module from Python > code. > > Rgds, > Jeremy Look at t

[Discuss-gnuradio] Callback from C++ to Python Passing gr_message_sptr

2007-01-03 Thread Jeremy Chew
Hi, I'm working on a C++ extension. How can we use SWIG to program a callback from C++ to Python that passes a gr_message_sptr? I'm trying to avoid polling the C++ module from Python code. Rgds, Jeremy ___ Discuss-gnuradio mailing list Discuss