[fpc-pascal] inline and other modifiers
Bernd
prof7bit at googlemail.com
Sat Dec 17 11:29:33 CET 2011
2011/12/16 Jonas Maebe <jonas.maebe at 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
More information about the fpc-pascal
mailing list