diff options
author | jcorgan | 2009-07-26 20:01:02 +0000 |
---|---|---|
committer | jcorgan | 2009-07-26 20:01:02 +0000 |
commit | 2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3 (patch) | |
tree | d646b7851ed0ea3015c3480609d03d5589ebd60d /mblock/src/lib/mb_runtime_nop.cc | |
parent | 970d850297cf945943528557127db2cd327c3f3c (diff) | |
download | gnuradio-2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3.tar.gz gnuradio-2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3.tar.bz2 gnuradio-2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3.zip |
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
Diffstat (limited to 'mblock/src/lib/mb_runtime_nop.cc')
-rw-r--r-- | mblock/src/lib/mb_runtime_nop.cc | 8 |
1 files changed, 5 insertions, 3 deletions
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 <mblock/class_registry.h> #include <mblock/exception.h> +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)) |