diff options
author | Eric Blossom | 2011-01-05 19:56:00 -0800 |
---|---|---|
committer | Eric Blossom | 2011-01-05 19:56:00 -0800 |
commit | dad65db9c2046a113e704394beac01852ac2b35c (patch) | |
tree | 560103a5c24ebd09e8f1b19c01573b6d801b2cb5 /gnuradio-core/src/lib | |
parent | 7c78b8501ac6e9f386c9d4c0315913f6d3c72617 (diff) | |
download | gnuradio-dad65db9c2046a113e704394beac01852ac2b35c.tar.gz gnuradio-dad65db9c2046a113e704394beac01852ac2b35c.tar.bz2 gnuradio-dad65db9c2046a113e704394beac01852ac2b35c.zip |
Have swig/guile wrap enums and constants as scheme variables, not functions.
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/swig/gnuradio.i | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/swig/gnuradio.i b/gnuradio-core/src/lib/swig/gnuradio.i index 1601cca12..1856d5007 100644 --- a/gnuradio-core/src/lib/swig/gnuradio.i +++ b/gnuradio-core/src/lib/swig/gnuradio.i @@ -37,6 +37,11 @@ %feature("autodoc","1"); +#ifdef SWIGGUILE +// Export constants and enums as scheme variables, not functions. +%feature("constasvar"); +#endif + // local file %include <gr_shared_ptr.i> |