2011/12/16 Jonas Maebe <jonas.ma...@elis.ugent.be>:

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

You are right, its not a calling convention and declaring a different
convention in the implementation indeed does not work.

But I am still surprised that inline can be declared in either of the
two sections ( I am not complaining, I am actually glad it works for
my particular application). Is there any recommended style, is it bad
practice to put it into the implementation? (I'm not totally sure
whether I should conceptually regard inline as an implementation
detail or as something that belongs into the interface section since
it affects the generated code of other units)

Bernd
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to