On 26 Jan 2009, at 11:22, dmitry boyarintsev wrote:

procedure cTest; cdecl; external;
it's true for unix functions, but Carbon functions are using mwpascal
convention, right?

mwpascal is the same as cdecl, except that it always passes "const" parameters that are record types by reference (because that's what MetroWerks Pascal, aka mwpascal, did).


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

Reply via email to