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

Joost van der Sluis joost at cnoc.nl
Tue Jul 20 18:18:13 CEST 2010


Hi all,

In a safecall method definition on win32, is a parameter with the
'const' identifier always passed by reference?

Or is it 'compiler decide' like the normal calling convention?

I need to know to be sure if the code I'm working on works on accident
or as designed. ;)

Joost.




More information about the fpc-devel mailing list