From 2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Sun, 26 Jul 2009 20:01:02 +0000 Subject: Merged r11491:11494 from jcorgan/pmt into trunk. Moves pmt types functions into pmt:: from gruel:: Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11495 221aa14e-8319-0410-a670-987f0aec2ac5 --- mblock/src/lib/mb_runtime_nop.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mblock/src/lib/mb_runtime_nop.cc') diff --git a/mblock/src/lib/mb_runtime_nop.cc b/mblock/src/lib/mb_runtime_nop.cc index 3ea6d093b..8293e0c24 100644 --- a/mblock/src/lib/mb_runtime_nop.cc +++ b/mblock/src/lib/mb_runtime_nop.cc @@ -27,6 +27,8 @@ #include #include +using namespace pmt; + mb_runtime_sptr mb_make_runtime_nop() { @@ -48,7 +50,7 @@ mb_runtime_nop::~mb_runtime_nop() bool mb_runtime_nop::run(const std::string &instance_name, const std::string &class_name, - gruel::pmt_t user_arg, gruel::pmt_t *result) + pmt_t user_arg, pmt_t *result) { class initial_visitor : public mb_visitor { @@ -63,7 +65,7 @@ mb_runtime_nop::run(const std::string &instance_name, initial_visitor visitor; if (result) - *result = gruel::PMT_T; + *result = PMT_T; d_top = create_component(instance_name, class_name, user_arg); d_top->walk_tree(&visitor); @@ -74,7 +76,7 @@ mb_runtime_nop::run(const std::string &instance_name, mb_mblock_sptr mb_runtime_nop::create_component(const std::string &instance_name, const std::string &class_name, - gruel::pmt_t user_arg) + pmt_t user_arg) { mb_mblock_maker_t maker; if (!mb_class_registry::lookup_maker(class_name, &maker)) -- cgit