Resources | Resources |



C language mapping

Because C++ and C mappings are so similar, this section focuses on the areas where the mappings differ. Accordingly, it is recommended that you read C++ language mappings before reading this section.

For most constructs, the C language mapping is identical, or at least very similar, to the C++ language mapping. The following are the main differences:

  • The mapping for module, because C does not support namespaces
  • The mapping for interface, because C does not support classes
  • The syntax generated for struct, union, and enum, because without an additional typedef, the tag does not automatically become a type.