Re: [fpc-devel] cdecl and constant parameters

2010-03-31 Thread Michael Van Canneyt
On Wed, 31 Mar 2010, Jonas Maebe wrote: On 31 Mar 2010, at 20:01, Seth Grover wrote: The documentation (http://www.freepascal.org/docs-html/ref/refsu56.html) says "A constant argument is passed by reference if its size is larger than a pointer. It is passed by value if the size is equal or

Re: [fpc-devel] cdecl and constant parameters

2010-03-31 Thread Jonas Maebe
On 31 Mar 2010, at 20:01, Seth Grover wrote: > The documentation > (http://www.freepascal.org/docs-html/ref/refsu56.html) says "A > constant argument is passed by reference if its size is larger than a > pointer. It is passed by value if the size is equal or is less then > the size of a native po

[fpc-devel] cdecl and constant parameters

2010-03-31 Thread Seth Grover
The documentation (http://www.freepascal.org/docs-html/ref/refsu56.html) says "A constant argument is passed by reference if its size is larger than a pointer. It is passed by value if the size is equal or is less then the size of a native pointer." I have a packed record type defined which contai