[fpc-pascal] Re: Passing objects to libraries and back

Michael Van Canneyt michael at freepascal.org
Sun Feb 27 12:28:36 CET 2011



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.



More information about the fpc-pascal mailing list