diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-01-15 16:23:12 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-07-31 12:26:44 -0700 |
commit | bd293b70f4128210b79823e1ce8597ba08d09df6 (patch) | |
tree | 1458097ee1a74a45901092534fbc2e3ec926dcb9 /host/lib/convert/convert_impl.cpp | |
parent | 64b8681cf8d3dc3621d92d68e2337671ee692d15 (diff) | |
download | uhd-bd293b70f4128210b79823e1ce8597ba08d09df6.tar.gz uhd-bd293b70f4128210b79823e1ce8597ba08d09df6.tar.bz2 uhd-bd293b70f4128210b79823e1ce8597ba08d09df6.zip |
convert: Added converters for raw strings
- u8: Converts arbitrary-length strings from and to item32
- item32->item32 memcpy non-conversion
Diffstat (limited to 'host/lib/convert/convert_impl.cpp')
-rw-r--r-- | host/lib/convert/convert_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/convert/convert_impl.cpp b/host/lib/convert/convert_impl.cpp index fd6c8497e..d90bb9c94 100644 --- a/host/lib/convert/convert_impl.cpp +++ b/host/lib/convert/convert_impl.cpp @@ -172,6 +172,7 @@ UHD_STATIC_BLOCK(convert_register_item_sizes){ convert::register_bytes_per_item("s32", sizeof(boost::int32_t)); convert::register_bytes_per_item("s16", sizeof(boost::int16_t)); convert::register_bytes_per_item("s8", sizeof(boost::int8_t)); + convert::register_bytes_per_item("u8", sizeof(boost::uint8_t)); //register VITA types convert::register_bytes_per_item("item32", sizeof(boost::int32_t)); |