[fpc-pascal] inline and other modifiers

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Dec 16 23:02:32 CET 2011


On 16 Dec 2011, at 21:36, Bernd wrote:

> This seems to compile and work as intended, no matter which of the two
> implementations I choose. But I wonder how this can work? I always
> thought that what is written in the interface section is
> authoritative. How can the compiler properly use this unit and call
> the function when the implementation actually implements a completely
> different calling convention (inline) than the one that is declared in
> the interface section?

Inline is not a calling convention, nor does it affect the calling convention.


Jonas


More information about the fpc-pascal mailing list