[fpc-devel] "inline" issue
Sven Barth
pascaldragon at googlemail.com
Fri Apr 26 10:31:33 CEST 2019
Am 23.04.2019 um 16:33 schrieb Marco van de Voort:
>
> Op 4/23/2019 om 4:31 PM schreef J. Gareth Moreton:
>>
>> I should ask actually... what's Delphi's support on 'inline'
>> appearing just in the implementation section?
>>
> My guess: only inline locally in the implemenation, iow the function
> is exported non-inline.
I checked:
- for methods in classes/records "inline" is only allowed for the
declaration, but not the implementation
- for global routines inline can be either in the interface or in the
implementation; in case of the later the routine will only be inlined
inside the unit
Regards,
Sven
More information about the fpc-devel
mailing list