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.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to