4.2.5. RTI Ada Language Support¶
The following issues affect backward compatibility in Ada Language Support starting in Release 6.0.0.
126.96.36.199.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
188.8.131.52.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 with
DDS.WValuenow receives a
Wchars_Ptrand returns an
DDS.“+” related to wide character pointer arithmetic now uses
DDS.Peeknow receives a
Wchars_Ptrand returns a
DDS.To_DDS_Wide_Stringnow receives a
DDS.To_Standard_Wide_Wide_Stringhas been replaced with
DDS.Copyprocedures related to wide strings now use