discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] OOT enums


From: Michael Berman
Subject: Re: [Discuss-gnuradio] OOT enums
Date: Mon, 23 Dec 2013 10:29:16 -0800

Thank you all for the ideas so far.  I unfortunately will not be able to play around with this until the new year, but I will post back then if I get it working to help people down the road.

Michael


On Thu, Dec 19, 2013 at 1:08 PM, Sylvain Munaut <address@hidden> wrote:
Hi,

For what it's worth, I have enums in fosphor and the way I had to
access them is :

from gnuradio.fosphor.fosphor_swig import base_sink_c
base_sink_c.REF_DOWN

Because the base_sink_c from gnuradio.fosphor directly isn't really
the SWIG object ... it's just the wrapper for the make() function that
creates the sptr and you can't access any of the members.

Cheers,

    Sylvain

_______________________________________________
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]