diff options
author | Tom Rondeau | 2012-10-01 20:48:42 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-10-01 20:48:42 -0400 |
commit | be0c7ca9854734b228067d3515b2d032362e966b (patch) | |
tree | 909f03285d471439c89c23bda67792babcd03efd /gruel/src | |
parent | d5973006fa99ead50dd4b74e01aec19fc69f228a (diff) | |
download | gnuradio-be0c7ca9854734b228067d3515b2d032362e966b.tar.gz gnuradio-be0c7ca9854734b228067d3515b2d032362e966b.tar.bz2 gnuradio-be0c7ca9854734b228067d3515b2d032362e966b.zip |
gruel: added unsigned long long int support to the PMT sugar functions.
Diffstat (limited to 'gruel/src')
-rw-r--r-- | gruel/src/include/gruel/pmt_sugar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gruel/src/include/gruel/pmt_sugar.h b/gruel/src/include/gruel/pmt_sugar.h index 1d2b38ff1..bde7f716d 100644 --- a/gruel/src/include/gruel/pmt_sugar.h +++ b/gruel/src/include/gruel/pmt_sugar.h @@ -50,6 +50,12 @@ namespace pmt { //! Make pmt long static inline pmt_t + mp(long long unsigned x){ + return pmt_from_long(x); + } + + //! Make pmt long + static inline pmt_t mp(int x){ return pmt_from_long(x); } |