summaryrefslogtreecommitdiff
path: root/gruel/src/lib/pmt/pmt_io.cc
diff options
context:
space:
mode:
authorTom Rondeau2011-03-15 12:53:40 -0400
committerTom Rondeau2011-03-15 12:53:40 -0400
commit1ecc511ad673f37498ebc29147c776ca9b4b6490 (patch)
tree8e8cb1fc2cf8df1b8f1f75410b5922bda1b95be9 /gruel/src/lib/pmt/pmt_io.cc
parentb812a91c0beb33ff755f4426f36a2a3e2c9b295c (diff)
parenteb3a4fe528452415eb877b2b76e1006fc47bc655 (diff)
downloadgnuradio-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.cc10
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;
+}
+
+