diff options
Diffstat (limited to 'gr-digital/swig')
-rw-r--r-- | gr-digital/swig/digital_swig.i | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gr-digital/swig/digital_swig.i b/gr-digital/swig/digital_swig.i index 962cb5d28..a39ef9ab7 100644 --- a/gr-digital/swig/digital_swig.i +++ b/gr-digital/swig/digital_swig.i @@ -24,12 +24,14 @@ //load generated python docstrings %include "digital_swig_doc.i" +#if SWIGPYTHON enum snr_est_type_t { SNR_EST_SIMPLE = 0, // Simple estimator (>= 7 dB) SNR_EST_SKEW, // Skewness-base est (>= 5 dB) SNR_EST_M2M4, // 2nd & 4th moment est (>= 1 dB) SNR_EST_SVR // SVR-based est (>= 0dB) }; +#endif %include <gri_control_loop.i> @@ -86,6 +88,14 @@ enum snr_est_type_t { %include "digital_gmskmod_bc.i" #if SWIGGUILE + +enum snr_est_type_t { + SNR_EST_SIMPLE = 0, // Simple estimator (>= 7 dB) + SNR_EST_SKEW, // Skewness-base est (>= 5 dB) + SNR_EST_M2M4, // 2nd & 4th moment est (>= 1 dB) + SNR_EST_SVR // SVR-based est (>= 0dB) +}; + %scheme %{ (load-extension-global "libguile-gnuradio-digital_swig" "scm_init_gnuradio_digital_swig_module") %} |