summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/swig/pmt_swig.i
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/swig/pmt_swig.i')
-rw-r--r--gnuradio-runtime/swig/pmt_swig.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnuradio-runtime/swig/pmt_swig.i b/gnuradio-runtime/swig/pmt_swig.i
index 25178e3ba2..e54b544977 100644
--- a/gnuradio-runtime/swig/pmt_swig.i
+++ b/gnuradio-runtime/swig/pmt_swig.i
@@ -83,9 +83,11 @@ namespace pmt{
extern const pmt_t PMT_T;
extern const pmt_t PMT_F;
- extern const pmt_t PMT_NIL;
extern const pmt_t PMT_EOF;
+ pmt_t get_PMT_NIL();
+ #define PMT_NIL get_PMT_NIL()
+
bool is_bool(pmt_t obj);
bool is_true(pmt_t obj);
bool is_false(pmt_t obj);