Next: , Previous: C Enumerated type, Up: C mappings


6.1.5 Mapping for strings

GenoM IDL bounded strings are mapped to nul terminated character arrays (i.e., C strings). Unbounded strings are mapped to a pointer on such a character array.

For instance, the following OMG IDL declarations:

      typedef string unbounded;
      typedef string<16> bounded;

would map into

      typedef char *unbounded;
      typedef char bounded[16];