ATTRIBUTES DECORATE

The ATTRIBUTES directive option DECORATE specifies that the external name used in cDEC$ ALIAS or cDEC$ ATTRIBUTES ALIAS should have the prefix and postfix decorations performed on it that are associated with the calling mechanism that is in effect. These are the same decorations performed on the procedure name when ALIAS is not specified.

The DECORATE option takes the following form:

cDEC$ ATTRIBUTES DECORATE :: exname

exname
Is an external name.

The case of the ALIAS external name is not modified.

If ALIAS is not specified, this option has no effect.

See also the example in the description of the ATTRIBUTES option ALIAS, and the summary of prefix and postfix decorations in the description of the ATTRIBUTES options C and STDCALL.