summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 08:56:42 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 08:56:42 -0700
commit1931bd386ec0d68535f7eae7ecf717568ec0dd85 (patch)
tree1e6c1a792f3244242f8479882157773f85d52875 /gr-uhd
parenta8158a55279a7ae4ad43d6aaf8855c0f3711d5c2 (diff)
parente1e912858be7cb6d199fd5ca30c559e6afc48233 (diff)
Merge branch 'next' into python3
Diffstat (limited to 'gr-uhd')
-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>