8.2.5. RTI Ada Language Support
The following issues affect backward compatibility in Ada Language Support starting in Release 6.0.0.
8.2.5.1. APIs
8.2.5.1.1. Write_W_Params requires its DDS.WriteParams_T argument to be modifiable
Starting in 6.0.0, the third parameter of the Write_W_Param DataWriters method
has changed from “in” to “in out”, meaning the argument can be modified.
This is a backwards-incompatible API change. Previously, a constant
DDS.WriteParams_T record could be used as the argument, but this will no
longer be possible.
This change aligns the Ada API with its C counterpart, which has always
required a non-const pointer to a DDS_WriteParams_t structure.
8.2.5.1.2. Wide character representation change
Release 6.0.0 changes the size of wide characters from 32 bits to 16 bits. Several names, APIs, and types in Ada Language Support have been modified, in backwards-incompatible ways, to reflect this change and avoid possible confusion:
DDS.Wcharis now 16-bits wide.
DDS.Wwchars_Ptrhas been replaced withDDS.Wchars_Ptr.
DDS.WValuenow receives aWchars_Ptrand returns anInterfaces.C.char16_array.Function
DDS.“+” related to wide character pointer arithmetic now usesWchar_Ptr.Function
DDS.Peeknow receives aWchars_Ptrand returns aStandard.Wide_Character.Function
DDS.To_DDS_Wide_Stringnow receives aStandard.Wide_Stringargument.Function
DDS.To_Standard_Wide_Wide_Stringhas been replaced withDDS.To_Standard_Wide_String.
DDS.Copyprocedures related to wide strings now useStandard.Wide_Stringsinstead ofStandard.Wide_Wide_Strings.