diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-17 18:40:03 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-17 18:40:03 -0700 |
commit | 32bd5b3f2fe0a2d7924972ae28177c08753219fc (patch) | |
tree | 4cb22771d27bc63562b1f11757bfc82906d52e84 /host | |
parent | 87d67d7777ed21121896b7733723ca3109e18c8c (diff) | |
download | uhd-32bd5b3f2fe0a2d7924972ae28177c08753219fc.tar.gz uhd-32bd5b3f2fe0a2d7924972ae28177c08753219fc.tar.bz2 uhd-32bd5b3f2fe0a2d7924972ae28177c08753219fc.zip |
uhd: some header changes from next
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/exception.hpp | 6 | ||||
-rw-r--r-- | host/include/uhd/utils/msg.hpp | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/host/include/uhd/exception.hpp b/host/include/uhd/exception.hpp index 10cd8f501..c05861788 100644 --- a/host/include/uhd/exception.hpp +++ b/host/include/uhd/exception.hpp @@ -15,8 +15,8 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // -#ifndef INCLUDED_UHD_UTILS_EXCEPTION_HPP -#define INCLUDED_UHD_UTILS_EXCEPTION_HPP +#ifndef INCLUDED_UHD_EXCEPTION_HPP +#define INCLUDED_UHD_EXCEPTION_HPP #include <uhd/config.hpp> #include <boost/current_function.hpp> @@ -163,4 +163,4 @@ namespace uhd{ } //namespace uhd -#endif /* INCLUDED_UHD_UTILS_EXCEPTION_HPP */ +#endif /* INCLUDED_UHD_EXCEPTION_HPP */ diff --git a/host/include/uhd/utils/msg.hpp b/host/include/uhd/utils/msg.hpp index 71d2cb35e..b0f00e13d 100644 --- a/host/include/uhd/utils/msg.hpp +++ b/host/include/uhd/utils/msg.hpp @@ -30,6 +30,9 @@ #define UHD_MSG(type) \ uhd::msg::_msg(uhd::msg::type)() +//! Helpful debug tool to print site info +#define UHD_HERE() \ + UHD_MSG(status) << __FILE__ << ":" << __LINE__ << std::endl namespace uhd{ namespace msg{ |