|
From: | Michael Berman |
Subject: | Re: [Discuss-gnuradio] OOT enums |
Date: | Mon, 23 Dec 2013 10:29:16 -0800 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |