discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Trouble With UHD Tune Request


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Trouble With UHD Tune Request
Date: Fri, 27 Jul 2012 15:09:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0


On 07/27/2012 11:33 AM, Daniel Labarowski wrote:
> I've been thinking about this issue and I have a feeling that the
> problem is that swig may not support my use of pointers as function
> parameters. My block accepts a boost::shared_ptr<uhd_usrp_sink> and a
> boost::shared_ptr<uhd_usrp_source> as parameters. Disabling swig as I
> did before seems to have created other issues. Is there any way that I
> can either fix the swig error or disable swig altogether for this block
> and just install and link for c++, and not python, flowgraphs?
> 
> Previous message
> <http://lists.gnu.org/archive/html/discuss-gnuradio/2012-07/msg00297.html>with
> link to swig error

I'm not too bright, or I'm not sure what error message you are referring to.

I believe that you can pass the pointer. But to do so you may need to
set some sort of %template directive so swig know how to deal with the
object

-josh

> 
> -Dan
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 



reply via email to

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