diff options
Diffstat (limited to 'gr-digital/swig')
-rw-r--r-- | gr-digital/swig/digital_constellation.i | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-digital/swig/digital_constellation.i b/gr-digital/swig/digital_constellation.i index acc7aad1a..248f90014 100644 --- a/gr-digital/swig/digital_constellation.i +++ b/gr-digital/swig/digital_constellation.i @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2010, 2011 Free Software Foundation, Inc. + * Copyright 2010,2011,2012 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -188,6 +188,7 @@ public: digital_constellation_8psk (); }; +#if SWIGPYTHON /* We want print(constellation) in python to produce nice useful output so we include code at the end of the generated python file that overrides @@ -204,3 +205,4 @@ digital_constellation_dqpsk_sptr.__repr__ = lambda self: '<constellation dqpsk>' digital_constellation_8psk_sptr.__repr__ = lambda self: '<constellation 8psk>' %} +#endif |