[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] OOT enums
From: |
Sylvain Munaut |
Subject: |
Re: [Discuss-gnuradio] OOT enums |
Date: |
Thu, 19 Dec 2013 22:08:04 +0100 |
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