Skip to content

Rule: Calling convention changed via a macro

Canonical rule slug: calling-convention-changed-via-macro. ← back to all rules

An exported function's calling convention changes through the expansion of a convention macro defined in an included config header, while the declaration text in the public header stays identical.

Canonical demonstration