On Sun, 27 Feb 2011, Jonas Maebe wrote:


On 27 Feb 2011, at 09:58, leledumbo wrote:

Read the docs. If the size of the argument is greater than native pointer
size, it would be passed by reference.

If the docs say that somewhere, they are wrong. How a "const" parameter is
passed is an implementation detail (which hence could change at any time),
except for "stdcall" routines on Windows platforms (for COM
compatibility).

I have adapted the docs.

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

Reply via email to