General Tab

This tab deals with general output formatting, and does not affect the actual functionality of the code that is generated. The settings in this tab apply to all C Code files that are generated.

Duplicate Names

To avoid possible naming collisions with existing code, or simply to highlight variables and function names in the generated code when used with existing code, a prefix can be prepended to all generated types, constants, variables, and function names.

ANSI C Compliance

The ANSI C standard only guarantees that the first 31 characters of a name are unique. If there were two functions that were 33 characters and unique up to the last character, such as function MyCall…Data1() and MyCalll…Data2() then the compiler would actually create two functions with the internal names MyCall…Dat() and MyCall…Dat(). The linker would not be able to resolve this ambiguity, and the code would not compile. If the C Code is generated with name truncation enabled, the truncation is applied intelligently and no name collisions or linkage ambiguities will occur. In the previous example, the function names that would be generated are MyCall…D_1() and MyCall…D_2().