[fpc-pascal] Calling C functions from FPC
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Jan 26 10:57:21 CET 2009
On 26 Jan 2009, at 11:44, dmitry boyarintsev wrote:
> huh?!!
> well thanks! because i always thought that 'mwpascal' is the same as
> 'fastcall' (register), except for 'const' parameters.
On non-i386, all calling conventions are identical (to the standard
calling convention defined in the ABI) except for some small Pascal-
level details (such as the const parameters in case of mwpascal). And
on all architectures except for i386, the standard calling conventions
pass a number of parameters in registers.
Jonas
More information about the fpc-pascal
mailing list