[fpc-devel] constref in Windows

Paul Ishenin webpirat at mail.ru
Fri Nov 19 17:56:43 CET 2010


19.11.2010 23:47, Jonas Maebe wrote:
>
> Well, it could be done since "const" is implementation-dependent, but 
> it would force all non-x86 platforms to pass all const parameters by 
> reference by default, which may not be desirable from an efficiency 
> point of view.
As I understand not all const parameters are passed by reference in 
delphi stdcall implementation but only records? Or say integer/byte will 
be passed by reference too?

Best regards,
Paul Ishenin.



More information about the fpc-devel mailing list