diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-06-27 15:09:56 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-06-28 13:58:57 -0400 |
commit | 3d8a19b55a15a285d5a95d1e786cb93e26cb4f3a (patch) | |
tree | 6e76b706bfe46b0af9b59f43465b8a2125042700 /gnuradio-runtime/python/pmt/__init__.py | |
parent | 34b04e3f9a1e9f20d1011a23192b97ea9b7e6b04 (diff) |
runtime: mods for pmt's NIL.
Diffstat (limited to 'gnuradio-runtime/python/pmt/__init__.py')
-rw-r--r-- | gnuradio-runtime/python/pmt/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/pmt/__init__.py b/gnuradio-runtime/python/pmt/__init__.py index 00940e4cc1..1c7db73322 100644 --- a/gnuradio-runtime/python/pmt/__init__.py +++ b/gnuradio-runtime/python/pmt/__init__.py @@ -48,6 +48,9 @@ except ImportError: __path__.append(os.path.join(dirname, "..", "..", "swig")) from pmt_swig import * +# due to changes in the PMT_NIL singleton for static builds, we force +# this into Python here. +PMT_NIL = get_PMT_NIL() + from pmt_to_python import pmt_to_python as to_python from pmt_to_python import python_to_pmt as to_pmt - |