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_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal