summaryrefslogtreecommitdiff
path: root/gruel/src/lib/pmt/qa_pmt_prims.h
diff options
context:
space:
mode:
authorEric Blossom2009-08-18 22:44:05 -0700
committerEric Blossom2009-08-18 22:44:05 -0700
commit6213d97eba31b66f8234357c6f030124f417f74d (patch)
tree2301c62e23207a4703b92f188286d4d518c1fe07 /gruel/src/lib/pmt/qa_pmt_prims.h
parent4425cea2297d29f7cb90ac045b39928358cff1e4 (diff)
downloadgnuradio-6213d97eba31b66f8234357c6f030124f417f74d.tar.gz
gnuradio-6213d97eba31b66f8234357c6f030124f417f74d.tar.bz2
gnuradio-6213d97eba31b66f8234357c6f030124f417f74d.zip
Add blobs and shorthand pmt pseudo-constructors.
blobs == Binary Large Object. Very handy for passing around uninterpreted data. The shorthand constructors were implemented by overloading the pmt_t mp(foo) function in the pmt namespace. I originally called "mp" "pmt", but that caused a conflict with the pmt namespace.
Diffstat (limited to 'gruel/src/lib/pmt/qa_pmt_prims.h')
-rw-r--r--gruel/src/lib/pmt/qa_pmt_prims.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gruel/src/lib/pmt/qa_pmt_prims.h b/gruel/src/lib/pmt/qa_pmt_prims.h
index fd6f70c8e..29ba02f11 100644
--- a/gruel/src/lib/pmt/qa_pmt_prims.h
+++ b/gruel/src/lib/pmt/qa_pmt_prims.h
@@ -45,6 +45,7 @@ class qa_pmt_prims : public CppUnit::TestCase {
CPPUNIT_TEST(test_lists);
CPPUNIT_TEST(test_serialize);
CPPUNIT_TEST(test_sets);
+ CPPUNIT_TEST(test_sugar);
CPPUNIT_TEST_SUITE_END();
private:
@@ -65,6 +66,7 @@ class qa_pmt_prims : public CppUnit::TestCase {
void test_lists();
void test_serialize();
void test_sets();
+ void test_sugar();
};
#endif /* INCLUDED_QA_PMT_PRIMS_H */