From 92e880f3b1635f2cf034db76de6c95cf8b1ccd82 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 14 Oct 2023 21:34:39 +0100 Subject: [PATCH] #773 Return raw pointer for etl::multi_span::operator->() --- arduino/library-arduino.json | 2 +- arduino/library-arduino.properties | 2 +- include/etl/generators/largest_generator.h | 8 ++-- include/etl/generators/smallest_generator.h | 2 +- .../etl/generators/type_traits_generator.h | 2 +- include/etl/largest.h | 2 +- include/etl/message_packet.h | 48 +++++++++---------- include/etl/version.h | 2 +- library.json | 2 +- library.properties | 2 +- support/Release notes.txt | 4 ++ version.txt | 2 +- 12 files changed, 41 insertions(+), 37 deletions(-) diff --git a/arduino/library-arduino.json b/arduino/library-arduino.json index 3264a7d2d..822e28f84 100644 --- a/arduino/library-arduino.json +++ b/arduino/library-arduino.json @@ -1,6 +1,6 @@ { "name": "Embedded Template Library - Arduino", - "version": "20.38.2", + "version": "20.38.4", "authors": { "name": "John Wellbelove", "email": "john.wellbelove@etlcpp.com" diff --git a/arduino/library-arduino.properties b/arduino/library-arduino.properties index 02282cd27..41ce4dfd1 100644 --- a/arduino/library-arduino.properties +++ b/arduino/library-arduino.properties @@ -1,5 +1,5 @@ name=Embedded Template Library - Arduino -version=20.38.2 +version=20.38.4 author= John Wellbelove maintainer=John Wellbelove license=MIT diff --git a/include/etl/generators/largest_generator.h b/include/etl/generators/largest_generator.h index 40307bf23..a8cb40837 100644 --- a/include/etl/generators/largest_generator.h +++ b/include/etl/generators/largest_generator.h @@ -140,7 +140,7 @@ namespace etl cog.outl("/// Supports up to %s types." % NTypes) cog.outl("/// Defines 'value_type' which is the type of the largest parameter.") cog.outl("/// Defines 'size' which is the size of the largest parameter.") - cog.outl("///\ingroup largest") + cog.outl("///\\ingroup largest") cog.outl("//***************************************************************************") cog.out("template value which is the largest alignment of all the parameters.") - cog.outl("///\ingroup largest") + cog.outl("///\\ingroup largest") cog.outl("//***************************************************************************") cog.out("template struct larger_int_type @@ -407,7 +407,7 @@ namespace etl cog.outl("/// Template to determine the largest type, size and alignment.") cog.outl("/// Supports up to %s types." % NTypes) cog.outl("/// Defines value which is the largest type, size and alignment of all the parameters.") - cog.outl("///\ingroup largest") + cog.outl("///\\ingroup largest") cog.outl("//***************************************************************************") cog.out("template true_type; import cog cog.outl("//***************************************************************************") cog.outl("/// Template to determine if a type is one of a specified list.") - cog.outl("///\ingroup types") + cog.outl("///\\ingroup types") cog.outl("template struct larger_int_type diff --git a/include/etl/message_packet.h b/include/etl/message_packet.h index 17ef11552..df4d6d29f 100644 --- a/include/etl/message_packet.h +++ b/include/etl/message_packet.h @@ -339,9 +339,9 @@ namespace etl //*************************************************************************** // The definition for all 16 message types. //*************************************************************************** - template class message_packet { @@ -634,9 +634,9 @@ namespace etl //*************************************************************************** // Specialisation for 15 message types. //*************************************************************************** - template class message_packet { @@ -927,9 +927,9 @@ namespace etl //*************************************************************************** // Specialisation for 14 message types. //*************************************************************************** - template class message_packet { @@ -1218,9 +1218,9 @@ namespace etl //*************************************************************************** // Specialisation for 13 message types. //*************************************************************************** - template class message_packet { @@ -1507,8 +1507,8 @@ namespace etl //*************************************************************************** // Specialisation for 12 message types. //*************************************************************************** - template class message_packet { @@ -1790,8 +1790,8 @@ namespace etl //*************************************************************************** // Specialisation for 11 message types. //*************************************************************************** - template class message_packet { @@ -2071,8 +2071,8 @@ namespace etl //*************************************************************************** // Specialisation for 10 message types. //*************************************************************************** - template class message_packet { @@ -2350,8 +2350,8 @@ namespace etl //*************************************************************************** // Specialisation for 9 message types. //*************************************************************************** - template class message_packet { @@ -2627,7 +2627,7 @@ namespace etl //*************************************************************************** // Specialisation for 8 message types. //*************************************************************************** - template class message_packet { @@ -2898,7 +2898,7 @@ namespace etl //*************************************************************************** // Specialisation for 7 message types. //*************************************************************************** - template class message_packet { @@ -3167,7 +3167,7 @@ namespace etl //*************************************************************************** // Specialisation for 6 message types. //*************************************************************************** - template class message_packet { @@ -3434,7 +3434,7 @@ namespace etl //*************************************************************************** // Specialisation for 5 message types. //*************************************************************************** - template class message_packet { diff --git a/include/etl/version.h b/include/etl/version.h index f55495a02..66d517cd0 100644 --- a/include/etl/version.h +++ b/include/etl/version.h @@ -40,7 +40,7 @@ SOFTWARE. #define ETL_VERSION_MAJOR 20 #define ETL_VERSION_MINOR 38 -#define ETL_VERSION_PATCH 3 +#define ETL_VERSION_PATCH 4 #define ETL_VERSION ETL_STRING(ETL_VERSION_MAJOR) "." ETL_STRING(ETL_VERSION_MINOR) "." ETL_STRING(ETL_VERSION_PATCH) #define ETL_VERSION_W ETL_WIDE_STRING(ETL_VERSION_MAJOR) L"." ETL_WIDE_STRING(ETL_VERSION_MINOR) L"." ETL_WIDE_STRING(ETL_VERSION_PATCH) diff --git a/library.json b/library.json index 2f7ce90fb..9f7d179ec 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Embedded Template Library", - "version": "20.38.3", + "version": "20.38.4", "authors": { "name": "John Wellbelove", "email": "john.wellbelove@etlcpp.com" diff --git a/library.properties b/library.properties index 29337c202..5d849ddaf 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Embedded Template Library -version=20.38.3 +version=20.38.4 author= John Wellbelove maintainer=John Wellbelove license=MIT diff --git a/support/Release notes.txt b/support/Release notes.txt index e546f0eaa..5bf9df98e 100644 --- a/support/Release notes.txt +++ b/support/Release notes.txt @@ -1,3 +1,7 @@ +=============================================================================== +20.38.4 +#773 Return raw pointer for etl::multi_span::operator->() + =============================================================================== 20.38.3 #767 etl::pool silently produces unaligned allocations for types with stricter alignment requirements than built in types diff --git a/version.txt b/version.txt index ab630adc2..f2655965a 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -20.38.3 +20.38.4