From bd293b70f4128210b79823e1ce8597ba08d09df6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 15 Jan 2015 16:23:12 +0100 Subject: convert: Added converters for raw strings - u8: Converts arbitrary-length strings from and to item32 - item32->item32 memcpy non-conversion --- host/lib/convert/convert_impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/convert/convert_impl.cpp') 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)); -- cgit v1.2.3