Re: [Discuss-gnuradio] OOT enums

2013-12-23 Thread Michael Berman
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 <246...@gmail.com> wrote: > Hi, > > For what it'

Re: [Discuss-gnuradio] OOT enums

2013-12-19 Thread Sylvain Munaut
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

Re: [Discuss-gnuradio] OOT enums

2013-12-19 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I had a hard time adding the tag_propagation_policy_t enum to the swig gateway; maybe my pull request from back then might help you: https://github.com/gnuradio/gnuradio/pull/69 The point is that I haven't been able to have an enum definition as class

Re: [Discuss-gnuradio] OOT enums

2013-12-19 Thread Tom Rondeau
On Thu, Dec 19, 2013 at 2:07 PM, Michael Berman wrote: > I am trying to access a C++ enumeration within an OOT module from a python > instance of my OOT. When I try to run my python code it cannot find the > enumeration. > > My OOT module is called pll_freq_phase_det_cf and is included in python