Hi,

What's the process by which enums are added to the Python namespace via
SWIG in gnuradio? I mean in gr_firdes, the following are added to the
gr.firdes namespace in Python:

  enum win_type {
    WIN_HAMMING = 0,    // max attenuation 53 dB
    WIN_HANN = 1,    // max attenuation 44 dB
    WIN_BLACKMAN = 2,    // max attenuation 74 dB
    WIN_RECTANGULAR = 3,
    WIN_KAISER = 4,     // max attenuation variable with beta, google it
    WIN_BLACKMAN_hARRIS = 5,
  };

But I can't seem to get it to work with my code?

Cheers,

John
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to