summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 08:56:34 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 08:56:34 -0700
commite1e912858be7cb6d199fd5ca30c559e6afc48233 (patch)
tree25a5789ecb3a78fbbdc8e27b835fb87bc30e8995
parentad451c9eee0e6ea9bee981b222cf98aa66a6b52c (diff)
parentaab6e83233703f528518f40e0219cd375e7a8d5b (diff)
Merge branch 'master' into next
-rw-r--r--gr-uhd/swig/uhd_swig.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index b82d0fdae9..2852447c80 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -105,6 +105,10 @@
temp -= what;
return temp;
}
+ bool __eq__(const uhd::time_spec_t &what)
+ {
+ return (what == *self);
+ }
};
%include <uhd/types/stream_cmd.hpp>