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
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to