[fpc-devel] Question about 'const' and calling conventions

Desmond Coertzen patrolliekaptein at gmail.com
Wed Jul 21 04:46:52 CEST 2010


Answer to my own question to be found in thread with subject "cdecl and
constant parameters"

On Tue, Jul 20, 2010 at 11:12 PM, Desmond Coertzen <
patrolliekaptein at gmail.com> wrote:

> Is a const passed by reference in pascal calling convention? I hope so.
>
>
> On Tue, Jul 20, 2010 at 9:07 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
>>
>> On 20 Jul 2010, at 18:18, Joost van der Sluis wrote:
>>
>> > In a safecall method definition on win32, is a parameter with the
>> > 'const' identifier always passed by reference?
>>
>> I don't see any code in the parameter managers that would have this
>> effect.
>>
>>
>> Jonas
>> _______________________________________________
>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100721/fa8fd799/attachment.html>


More information about the fpc-devel mailing list