2.2.4.18 Identifier Length
These extensions allow the user supplied identifiers in an IDL file to have a maximum length of 255 characters. The following table of allowed lengths replaces the table specified in [C706] section 4.5.
Class of ID |
Maximum Length (in characters) |
---|---|
Interface name |
255 |
Type with transmit_as attribute |
255 |
Type with handle attribute |
255 |
Type with context_handle attribute |
255 |
Type with represent_as attribute |
255 |
Note that the constructed identifiers will hence correspondingly longer than 255. For example, since the major and minor version numbers can have upto five digits, since they are unsigned 16-bit integers as specified in [C706] section 6.2.3.3, the constructed identifier <interface>_v<major version>_<minor version>_c_ifspec can have a length upto 277 characters. This is a change from [C706] section 4.2.1.2 which limits all identifiers to 31 characters.