summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 08:56:18 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 08:56:18 -0700
commitaab6e83233703f528518f40e0219cd375e7a8d5b (patch)
treed08ef387d1f6fb50e49d5758c201bd579dcd00a4
parent80f1bc7840f633822a1032c4ad32ed251742c376 (diff)
parentedb12325a82b11fc7cc3ab9572dbcab3d8f378a7 (diff)
Merge branch 'maint'
-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>