diff options
author | Tom Rondeau | 2011-03-15 12:53:40 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-15 12:53:40 -0400 |
commit | 1ecc511ad673f37498ebc29147c776ca9b4b6490 (patch) | |
tree | 8e8cb1fc2cf8df1b8f1f75410b5922bda1b95be9 /gruel/src/lib/pmt/pmt_io.cc | |
parent | b812a91c0beb33ff755f4426f36a2a3e2c9b295c (diff) | |
parent | eb3a4fe528452415eb877b2b76e1006fc47bc655 (diff) | |
download | gnuradio-1ecc511ad673f37498ebc29147c776ca9b4b6490.tar.gz gnuradio-1ecc511ad673f37498ebc29147c776ca9b4b6490.tar.bz2 gnuradio-1ecc511ad673f37498ebc29147c776ca9b4b6490.zip |
Merge branch 'pmtswig' into next
Diffstat (limited to 'gruel/src/lib/pmt/pmt_io.cc')
-rw-r--r-- | gruel/src/lib/pmt/pmt_io.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gruel/src/lib/pmt/pmt_io.cc b/gruel/src/lib/pmt/pmt_io.cc index b909c1b64..1214ff588 100644 --- a/gruel/src/lib/pmt/pmt_io.cc +++ b/gruel/src/lib/pmt/pmt_io.cc @@ -26,6 +26,7 @@ #include <gruel/pmt.h> #include "pmt_int.h" #include <sstream> +#include <iostream> namespace pmt { @@ -156,3 +157,12 @@ pmt_deserialize(std::istream &source) } } /* namespace pmt */ + + +void +pmt::pmt_print(pmt_t v) +{ + std::cout << pmt_write_string(v) << std::endl; +} + + |